diff --git a/layouts/partials/head/fonts.html b/layouts/partials/head/fonts.html index e4258b6..9499fbd 100644 --- a/layouts/partials/head/fonts.html +++ b/layouts/partials/head/fonts.html @@ -1,6 +1,7 @@ - + + diff --git a/layouts/partials/head/meta.html b/layouts/partials/head/meta.html index 3eec4eb..da0c7a7 100644 --- a/layouts/partials/head/meta.html +++ b/layouts/partials/head/meta.html @@ -5,3 +5,13 @@ + + + {{ if isset .Site.Params "force_https" }} + + {{ end }} diff --git a/layouts/shortcodes/disqus.html b/layouts/shortcodes/disqus.html index 830761d..a66871a 100644 --- a/layouts/shortcodes/disqus.html +++ b/layouts/shortcodes/disqus.html @@ -13,14 +13,14 @@ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; var disqus_shortname = '{{ .Get 0 | default .Site.DisqusShortname }}'; - dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); - + -comments powered by Disqus +comments powered by Disqus