diff options
Diffstat (limited to 'docs/content/en/methods/shortcode/Position.md')
-rw-r--r-- | docs/content/en/methods/shortcode/Position.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/en/methods/shortcode/Position.md b/docs/content/en/methods/shortcode/Position.md index 24810e825..4052a735b 100644 --- a/docs/content/en/methods/shortcode/Position.md +++ b/docs/content/en/methods/shortcode/Position.md @@ -11,7 +11,7 @@ params: The `Position` method is useful for error reporting. For example, if your shortcode requires a "greeting" argument: -```go-html-template {file="layouts/shortcodes/myshortcode.html"} +```go-html-template {file="layouts/_shortcodes/myshortcode.html"} {{ $greeting := "" }} {{ with .Get "greeting" }} {{ $greeting = . }} |