diff options
Diffstat (limited to 'layouts/shortcodes')
| -rw-r--r-- | layouts/shortcodes/indent.html | 3 | ||||
| -rw-r--r-- | layouts/shortcodes/raw-html.html | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/layouts/shortcodes/indent.html b/layouts/shortcodes/indent.html index d22f84a..04f0b3f 100644 --- a/layouts/shortcodes/indent.html +++ b/layouts/shortcodes/indent.html @@ -1,2 +1 @@ -{{ $size := .Get 0 -}} -<span class="indent-{{ $size }}"></span> +<span class="indent-{{ .Get 0 }}"></span> diff --git a/layouts/shortcodes/raw-html.html b/layouts/shortcodes/raw-html.html index 98bce65..59448a1 100644 --- a/layouts/shortcodes/raw-html.html +++ b/layouts/shortcodes/raw-html.html @@ -1 +1 @@ -{{.Inner}} +{{ .Inner }} |
