Website Summary Files Commits Branches @commit @diff @stats
path: root / website / themes / reveal-hugo / layouts / shortcodes / fragment.html
blob: bcd5627e03f39da09bafbb0979faf5285ffb2e05 (plain) (blame)
1
2
3
4
5
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>