portfolios_tutoriel/themes/reveal-hugo/layouts/shortcodes/fragment.html
2022-02-09 15:43:10 +01:00

6 lines
228 B
HTML

{{/* Render .Inner before processing the shortcode. */}}
{{ $_hugo_config := `{ "version": 1 }` }}
<span class='fragment {{ .Get "class" }}'
{{ with .Get "index" }}data-fragment-index='{{ . }}'{{ end }}>
{{ .Inner }}
</span>