1
0
Fork 0
mirror of https://github.com/dillonzq/LoveIt.git synced 2025-04-27 06:06:20 +02:00

chore(deprecated): add gist shortcode

This commit is contained in:
Dillon 2025-02-23 10:24:27 +08:00
parent c51e292f94
commit cbc499e754

View file

@ -0,0 +1,2 @@
{{- /* imported from https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/shortcodes/gist.html */ -}}
<script src="https://gist.github.com/{{ index .Params 0 }}/{{ index .Params 1 }}.js{{if len .Params | eq 3 }}?file={{ index .Params 2 }}{{end}}"></script>