diff options
-rw-r--r-- | layouts/shortcodes/fragment.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/shortcodes/fragment.html b/layouts/shortcodes/fragment.html index bcd5627..ecdebfb 100644 --- a/layouts/shortcodes/fragment.html +++ b/layouts/shortcodes/fragment.html @@ -1,6 +1,4 @@ {{/* Render .Inner before processing the shortcode. */}} {{ $_hugo_config := `{ "version": 1 }` }} -<span class='fragment {{ .Get "class" }}' - {{ with .Get "index" }}data-fragment-index='{{ . }}'{{ end }}> - {{ .Inner }} -</span>
\ No newline at end of file +<span class='fragment {{ .Get "class" }}' {{ with .Get "index" }}data-fragment-index='{{ . }}'{{ end }}>{{ .Inner }}</span> + |