aboutsummaryrefslogtreecommitdiffstats
path: root/franticworld
diff options
context:
space:
mode:
authorAdam Matan <adam@vioozer.com>2016-02-19 23:36:04 +0200
committerAdam Matan <adam@vioozer.com>2016-02-19 23:36:04 +0200
commitd82b4ebe722d20e00a015b8b2dc31b5d51a6caac (patch)
tree25ed0c8b37fb927a641081119a715033624f2cdf /franticworld
parent714340c75dcb0def2cf861020a5ffbb24394e617 (diff)
downloadpelican-themes-d82b4ebe722d20e00a015b8b2dc31b5d51a6caac.tar.gz
Use Protocol-relative URL, as defined in https://atb.disqus.com/admin/universalcode/ - '//' instead of 'http://' or 'https://'
Diffstat (limited to 'franticworld')
-rw-r--r--franticworld/templates/article.html4
-rw-r--r--franticworld/templates/page.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/franticworld/templates/article.html b/franticworld/templates/article.html
index ecb4bfe..7edecbe 100644
--- a/franticworld/templates/article.html
+++ b/franticworld/templates/article.html
@@ -21,7 +21,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);
})();
@@ -31,4 +31,4 @@
</div>
-{% endblock content %} \ No newline at end of file
+{% endblock content %}
diff --git a/franticworld/templates/page.html b/franticworld/templates/page.html
index 3b569b5..3fb39b6 100644
--- a/franticworld/templates/page.html
+++ b/franticworld/templates/page.html
@@ -13,7 +13,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);
})();