summaryrefslogtreecommitdiffstats
path: root/docs/content/en/templates/shortcode-templates.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/templates/shortcode-templates.md')
-rw-r--r--docs/content/en/templates/shortcode-templates.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/en/templates/shortcode-templates.md b/docs/content/en/templates/shortcode-templates.md
index 487037bf0..839032800 100644
--- a/docs/content/en/templates/shortcode-templates.md
+++ b/docs/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: