portfolios_tutoriel/themes/reveal-hugo/layouts/shortcodes/fragment.html

6 lines
228 B
HTML
Raw Normal View History

2022-02-09 15:43:10 +01:00
{{/* Render .Inner before processing the shortcode. */}}
{{ $_hugo_config := `{ "version": 1 }` }}
<span class='fragment {{ .Get "class" }}'
{{ with .Get "index" }}data-fragment-index='{{ . }}'{{ end }}>
{{ .Inner }}
</span>