aboutsummaryrefslogtreecommitdiffstats
path: root/new-bootstrap2
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 /new-bootstrap2
parent714340c75dcb0def2cf861020a5ffbb24394e617 (diff)
downloadpelican-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 'new-bootstrap2')
-rw-r--r--new-bootstrap2/templates/article.html2
-rw-r--r--new-bootstrap2/templates/disqus_script.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/new-bootstrap2/templates/article.html b/new-bootstrap2/templates/article.html
index 358661d..03e0953 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 = '//{{ 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..e506d89 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 = '//' + 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 %}