<span
  class='fragment {{ .Get "class" }}'
  {{ with .Get "index" }}
    data-fragment-index='{{ . }}'
  {{ end }}
>
  {{ .Inner }}
</span>