diff options
author | Adam Matan <adam@vioozer.com> | 2016-02-19 23:36:04 +0200 |
---|---|---|
committer | Adam Matan <adam@vioozer.com> | 2016-02-19 23:36:04 +0200 |
commit | d82b4ebe722d20e00a015b8b2dc31b5d51a6caac (patch) | |
tree | 25ed0c8b37fb927a641081119a715033624f2cdf /notmyidea-cms-fr/templates/article.html | |
parent | 714340c75dcb0def2cf861020a5ffbb24394e617 (diff) | |
download | pelican-themes-d82b4ebe722d20e00a015b8b2dc31b5d51a6caac.zip pelican-themes-d82b4ebe722d20e00a015b8b2dc31b5d51a6caac.tar.gz pelican-themes-d82b4ebe722d20e00a015b8b2dc31b5d51a6caac.tar.bz2 |
Use Protocol-relative URL, as defined in https://atb.disqus.com/admin/universalcode/ - '//' instead of 'http://' or 'https://'
Diffstat (limited to 'notmyidea-cms-fr/templates/article.html')
-rw-r--r-- | notmyidea-cms-fr/templates/article.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notmyidea-cms-fr/templates/article.html b/notmyidea-cms-fr/templates/article.html index d79921a..edb8577 100644 --- a/notmyidea-cms-fr/templates/article.html +++ b/notmyidea-cms-fr/templates/article.html @@ -29,7 +29,7 @@ var disqus_identifier = "{{ article.url }}"; (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); })(); </script> |