tpl: Always load GitHub Gists over HTTPS - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit be0d4efc3db18035a04b188e089c09cdd8e04365
DIR parent f7f549e3a7492c787c6abb4900cc0f57c8ab1826
HTML Author: Christian Oliff <christianoliff@yahoo.com>
Date: Thu, 1 Aug 2019 20:57:41 +0900
tpl: Always load GitHub Gists over HTTPS
Diffstat:
M tpl/tplimpl/embedded/templates/sho… | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
DIR diff --git a/tpl/tplimpl/embedded/templates/shortcodes/gist.html b/tpl/tplimpl/embedded/templates/shortcodes/gist.html
@@ -1 +1 @@
-<script type="application/javascript" 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
+<script type="application/javascript" src="https://gist.github.com/{{ index .Params 0 }}/{{ index .Params 1 }}.js{{if len .Params | eq 3 }}?file={{ index .Params 2 }}{{end}}"></script>