presentazione-pass/themes/reveal-hugo/layouts/shortcodes/fragment.html
2020-06-19 21:42:18 +02: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>