Skip to content

Commit

Permalink
Update template_embedded.go
Browse files Browse the repository at this point in the history
Changed disqus urls from http to https. This fixes mixed content warnings on browsers when viewing Hugo websites over SSL (https).
  • Loading branch information
oneleaftea authored and bep committed Aug 22, 2017
1 parent d000cf6 commit 88e1bca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tpl/tplimpl/template_embedded.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}" />
Expand Down

0 comments on commit 88e1bca

Please sign in to comment.