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).
This commit is contained in:
oneleaftea 2017-08-22 10:55:29 -07:00 committed by Bjørn Erik Pedersen
parent d000cf6050
commit 88e1bca92c

View file

@ -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 }}" />