diff options
Diffstat (limited to 'docs/content/en/methods/page/RenderShortcodes.md')
-rw-r--r-- | docs/content/en/methods/page/RenderShortcodes.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/content/en/methods/page/RenderShortcodes.md b/docs/content/en/methods/page/RenderShortcodes.md index d124606f0..81a78b04b 100644 --- a/docs/content/en/methods/page/RenderShortcodes.md +++ b/docs/content/en/methods/page/RenderShortcodes.md @@ -9,13 +9,11 @@ params: signatures: [PAGE.RenderShortcodes] --- -{{< new-in 0.117.0 />}} - Use this method in shortcode templates to compose a page from multiple content files, while preserving a global context for footnotes and the table of contents. For example: -```go-html-template {file="layouts/shortcodes/include.html" copy=true} +```go-html-template {file="layouts/_shortcodes/include.html" copy=true} {{ with .Get 0 }} {{ with $.Page.GetPage . }} {{- .RenderShortcodes }} |