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:
parent
c51e292f94
commit
cbc499e754
1 changed files with 2 additions and 0 deletions
2
layouts/shortcodes/gist.html
Normal file
2
layouts/shortcodes/gist.html
Normal 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>
|
Loading…
Add table
Reference in a new issue