diff options
author | Justin Mayer <entroP@gmail.com> | 2016-02-20 09:42:52 -0800 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2016-02-20 09:42:52 -0800 |
commit | e57f033958f8e653ba57252a2ee3d533ec59c571 (patch) | |
tree | 4369ed8f5ddabea8fc98ad62c3303be78ac74f3e /new-bootstrap2/templates | |
parent | 714340c75dcb0def2cf861020a5ffbb24394e617 (diff) | |
parent | c817f12a9f5034a05abec4d2515adabd003f9ac0 (diff) | |
download | pelican-themes-e57f033958f8e653ba57252a2ee3d533ec59c571.tar.gz |
Merge pull request #372 from adamatan/master
Use HTTPS for Disqus requests
Diffstat (limited to 'new-bootstrap2/templates')
-rw-r--r-- | new-bootstrap2/templates/article.html | 2 | ||||
-rw-r--r-- | new-bootstrap2/templates/disqus_script.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/new-bootstrap2/templates/article.html b/new-bootstrap2/templates/article.html index 358661d..1356f28 100644 --- a/new-bootstrap2/templates/article.html +++ b/new-bootstrap2/templates/article.html @@ -33,7 +33,7 @@ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js'; + dsq.src = 'https://{{ DISQUS_SITENAME }}.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); diff --git a/new-bootstrap2/templates/disqus_script.html b/new-bootstrap2/templates/disqus_script.html index e0940cd..fb0785b 100644 --- a/new-bootstrap2/templates/disqus_script.html +++ b/new-bootstrap2/templates/disqus_script.html @@ -7,10 +7,10 @@ /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = 'http://' + 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); })(); </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> -{% endif %}
\ No newline at end of file +{% endif %} |