aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/tplimpl/embedded/templates/shortcodes/gist.html
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/tplimpl/embedded/templates/shortcodes/gist.html')
-rwxr-xr-xtpl/tplimpl/embedded/templates/shortcodes/gist.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/tplimpl/embedded/templates/shortcodes/gist.html b/tpl/tplimpl/embedded/templates/shortcodes/gist.html
new file mode 100755
index 000000000..a1b6dc6eb
--- /dev/null
+++ b/tpl/tplimpl/embedded/templates/shortcodes/gist.html
@@ -0,0 +1 @@
+<script src="//gist.github.com/{{ index .Params 0 }}/{{ index .Params 1 }}.js{{if len .Params | eq 3 }}?file={{ index .Params 2 }}{{end}}"></script> \ No newline at end of file