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