Website Summary Files Commits Branches @commit @diff @stats
path: root / layouts / shortcodes / frag.html
diff options
context:
space:
mode:
1 files changed, 4 insertions, 0 deletions
-rw-r--r--layouts/shortcodes/frag.html4
diff --git a/layouts/shortcodes/frag.html b/layouts/shortcodes/frag.html
new file mode 100644
index 0000000..c1de8c8
--- /dev/null
+++ b/layouts/shortcodes/frag.html
@@ -0,0 +1,4 @@
+<span class='fragment {{ .Get "class" }}'
+ {{ with .Get "index" }}data-fragment-index='{{ . }}'{{ end }}>
+ {{ .Get "c" }}
+</span> \ No newline at end of file