From aab04f26926500eef8af0717608d2fa54468aa9e Mon Sep 17 00:00:00 2001 From: Jorn Vanloofsvelt <6916250+JVanloofsvelt@users.noreply.github.com> Date: Thu, 8 Oct 2020 16:10:31 +0200 Subject: [PATCH] Update shortcode-templates.md to correct an error. --- content/en/templates/shortcode-templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/templates/shortcode-templates.md b/content/en/templates/shortcode-templates.md index 487037bf0..839032800 100644 --- a/content/en/templates/shortcode-templates.md +++ b/content/en/templates/shortcode-templates.md @@ -303,7 +303,7 @@ The rendered output of the HTML example code block will be as follows: ### Nested Shortcode: Image Gallery -Hugo's [`.Parent` shortcode variable][parent] returns a boolean value depending on whether the shortcode in question is called within the context of a *parent* shortcode. This provides an inheritance model for common shortcode parameters. +Hugo's [`.Parent` shortcode variable][parent] provides access to the parent shortcode context when the shortcode in question is called within the context of a *parent* shortcode. This provides an inheritance model for common shortcode parameters. The following example is contrived but demonstrates the concept. Assume you have a `gallery` shortcode that expects one named `class` parameter: