Skip to content

Commit 0dad8c7

Browse files
committed
feat(shortcodes): Pull gist from hugo source template
The gist shortcode was removed in version 0.143.0. Instead of removing it, keep this inside the theme. Signed-off-by: Khusika Dhamar Gusti <khusikadhamar@gmail.com>
1 parent 766e62c commit 0dad8c7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

layouts/_shortcodes/gist.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<script src="https://gist.github.com/{{ index .Params 0 }}/{{ index .Params 1 }}.js{{if len .Params | eq 3 }}?file={{ index .Params 2 }}{{end}}"></script>

0 commit comments

Comments
 (0)