Add the frag shortcode

This commit is contained in:
dzello
2018-04-30 12:08:32 -07:00
parent 072230bfbf
commit 67a64c121d
3 changed files with 29 additions and 6 deletions
+4
View File
@@ -0,0 +1,4 @@
<span class='fragment {{ .Get "class" }}'
{{ with .Get "index" }}data-fragment-index='{{ . }}'{{ end }}>
{{ .Get "c" }}
</span>
+2 -6
View File
@@ -1,8 +1,4 @@
<span
class='fragment {{ .Get "class" }}'
{{ with .Get "index" }}
data-fragment-index='{{ . }}'
{{ end }}
>
<span class='fragment {{ .Get "class" }}'
{{ with .Get "index" }}data-fragment-index='{{ . }}'{{ end }}>
{{ .Inner }}
</span>