Remove superfluous shortcode param

This commit is contained in:
Joe Mooring authored and Joe Mooring committed 2023-11-07 14:06:01 -08:00
1 parent 2a0544757c
commit 45ec53fe00
27 files changed
+49 -49

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ action:
The `Position` method is useful for error reporting. For example, if your shortcode requires a "greeting" parameter:
{{< code file="layouts/shortcodes/myshortcode.html" lang=go-html-template copy=false >}}
{{< code file="layouts/shortcodes/myshortcode.html" lang=go-html-template >}}
{{ $greeting := "" }}
{{ with .Get "greeting" }}
{{ $greeting = . }}