diff options
Squashed 'website/themes/reveal-hugo/' content from commit ff9f389
git-subtree-dir: website/themes/reveal-hugo
git-subtree-split: ff9f389743ae2fe5c5cc6101455db0616e8548e2
1 files changed, 6 insertions, 0 deletions
| -rw-r--r-- | layouts/shortcodes/fragment.html | 6 |
diff --git a/layouts/shortcodes/fragment.html b/layouts/shortcodes/fragment.html new file mode 100644 index 0000000..bcd5627 --- /dev/null +++ b/layouts/shortcodes/fragment.html @@ -0,0 +1,6 @@ +{{/* 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 |
