commit 88e1bca92c9df7e6c8b0bdf5a830a58e5ecd8e09
parent d000cf605091c6999b72d6c632752289bc680223
Author: oneleaftea <oneleaftea@users.noreply.github.com>
Date: Tue, 22 Aug 2017 10:55:29 -0700
Update template_embedded.go
Changed disqus urls from http to https. This fixes mixed content warnings on browsers when viewing Hugo websites over SSL (https).
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tpl/tplimpl/template_embedded.go b/tpl/tplimpl/template_embedded.go
@@ -183,8 +183,8 @@ func (t *templateHandler) embedTemplates() {
(d.head || d.body).appendChild(s);
})();
</script>
-<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>{{end}}`)
+<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
+<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>{{end}}`)
// Add SEO & Social metadata
t.addInternalTemplate("", "opengraph.html", `<meta property="og:title" content="{{ .Title }}" />