From fa1c7d1f1d45c832f9c18580b97db75d4bf407a9 Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Thu, 16 Mar 2017 10:56:12 -0500 Subject: [PATCH] Update shortcode templating --- content/templates/shortcode-templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/templates/shortcode-templates.md b/content/templates/shortcode-templates.md index 72e08a023..2403554c9 100644 --- a/content/templates/shortcode-templates.md +++ b/content/templates/shortcode-templates.md @@ -262,7 +262,7 @@ The following example is contrived but demonstrates the concept. Assume you have ``` {{% /code %}} -You also have an `image` shortcode with a single named `src` parameter that may or may not be called within `gallery`, as well as other shortcodes you've created for your site. When called inside a parent shortcode like `gallery`, you want the output HTML to inherit a CSS class from the value given to its parent: +You also have an `image` shortcode with a single named `src` parameter that you want to call inside of `gallery` and other shortcodes so that the parent defines the context of each `image`: {{% code file="layouts/shortcodes/image.html" %}} ```html