From d82b4ebe722d20e00a015b8b2dc31b5d51a6caac Mon Sep 17 00:00:00 2001 From: Adam Matan Date: Fri, 19 Feb 2016 23:36:04 +0200 Subject: Use Protocol-relative URL, as defined in https://atb.disqus.com/admin/universalcode/ - '//' instead of 'http://' or 'https://' --- notebook/templates/article.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'notebook/templates') diff --git a/notebook/templates/article.html b/notebook/templates/article.html index 2fa83c2..a7d825a 100644 --- a/notebook/templates/article.html +++ b/notebook/templates/article.html @@ -55,7 +55,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 = '//{{ DISQUS_SITENAME }}.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); @@ -64,4 +64,4 @@ {% endif %} -{% endblock %} \ No newline at end of file +{% endblock %} -- cgit v1.1