diff options
Diffstat (limited to 'docs/content/en/methods/shortcode/Name.md')
-rw-r--r-- | docs/content/en/methods/shortcode/Name.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/en/methods/shortcode/Name.md b/docs/content/en/methods/shortcode/Name.md index b5f9b6c17..c42513cb2 100644 --- a/docs/content/en/methods/shortcode/Name.md +++ b/docs/content/en/methods/shortcode/Name.md @@ -11,7 +11,7 @@ params: The `Name` 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 = . }} |