aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes/gist.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/gist.html')
-rw-r--r--layouts/shortcodes/gist.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/shortcodes/gist.html b/layouts/shortcodes/gist.html
new file mode 100644
index 0000000..783fa1e
--- /dev/null
+++ b/layouts/shortcodes/gist.html
@@ -0,0 +1 @@
+<script src="https://gist.neonxp.ru/{{ index .Params 0 }}/{{ index .Params 1 }}.js{{if len .Params | eq 3 }}?file={{ index .Params 2 }}{{end}}"></script> \ No newline at end of file