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 | |
parent | 714340c75dcb0def2cf861020a5ffbb24394e617 (diff) | |
download | pelican-themes-d82b4ebe722d20e00a015b8b2dc31b5d51a6caac.tar.gz |
Use Protocol-relative URL, as defined in https://atb.disqus.com/admin/universalcode/ - '//' instead of 'http://' or 'https://'
28 files changed, 32 insertions, 32 deletions
diff --git a/SoMA/templates/article.html b/SoMA/templates/article.html index 70cfa9e..9a185a2 100644 --- a/SoMA/templates/article.html +++ b/SoMA/templates/article.html @@ -24,7 +24,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> diff --git a/SoMA2/templates/article.html b/SoMA2/templates/article.html index 70cfa9e..9a185a2 100644 --- a/SoMA2/templates/article.html +++ b/SoMA2/templates/article.html @@ -24,7 +24,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> diff --git a/aboutwilson/templates/disqus.html b/aboutwilson/templates/disqus.html index ddaaedd..0459eb7 100644 --- a/aboutwilson/templates/disqus.html +++ b/aboutwilson/templates/disqus.html @@ -6,7 +6,7 @@ (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> diff --git a/bootlex/templates/article.html b/bootlex/templates/article.html index 7c64418..303b323 100644 --- a/bootlex/templates/article.html +++ b/bootlex/templates/article.html @@ -18,7 +18,7 @@ /* * * 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> diff --git a/bootstrap/templates/disqus.html b/bootstrap/templates/disqus.html index 9ba2e42..ad49367 100644 --- a/bootstrap/templates/disqus.html +++ b/bootstrap/templates/disqus.html @@ -3,8 +3,8 @@ 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> -{% endif %}
\ No newline at end of file +{% endif %} diff --git a/bootstrap2-dark/templates/article.html b/bootstrap2-dark/templates/article.html index 638655c..c533978 100644 --- a/bootstrap2-dark/templates/article.html +++ b/bootstrap2-dark/templates/article.html @@ -28,7 +28,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/bootstrap2/templates/article.html b/bootstrap2/templates/article.html index 3a3dc4a..ed223dd 100644 --- a/bootstrap2/templates/article.html +++ b/bootstrap2/templates/article.html @@ -28,7 +28,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/brownstone/templates/article.html b/brownstone/templates/article.html index dd07404..e4c3a6b 100644 --- a/brownstone/templates/article.html +++ b/brownstone/templates/article.html @@ -24,7 +24,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> diff --git a/built-texts/templates/disqus.html b/built-texts/templates/disqus.html index 0e5d8d7..3cad507 100644 --- a/built-texts/templates/disqus.html +++ b/built-texts/templates/disqus.html @@ -5,7 +5,7 @@ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = 'https://' + 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> diff --git a/cebong/templates/article.html b/cebong/templates/article.html index 15569d4..902fbb9 100644 --- a/cebong/templates/article.html +++ b/cebong/templates/article.html @@ -50,7 +50,7 @@ var disqus_identifier = "{{ article.url }}"; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = 'https://{{ 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> diff --git a/dev-random/templates/article.html b/dev-random/templates/article.html index e353f2e..ca1a199 100644 --- a/dev-random/templates/article.html +++ b/dev-random/templates/article.html @@ -54,7 +54,7 @@ /* * * 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> diff --git a/dev-random2/templates/article.html b/dev-random2/templates/article.html index 9d24a37..dde5dd4 100644 --- a/dev-random2/templates/article.html +++ b/dev-random2/templates/article.html @@ -43,7 +43,7 @@ /* * * 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> 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);
})();
diff --git a/gum/templates/article.html b/gum/templates/article.html index dd1cb2c..0777b2c 100644 --- a/gum/templates/article.html +++ b/gum/templates/article.html @@ -37,7 +37,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> diff --git a/lightweight/templates/article.html b/lightweight/templates/article.html index 86c16de..0370f66 100644 --- a/lightweight/templates/article.html +++ b/lightweight/templates/article.html @@ -21,7 +21,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> diff --git a/monospace/templates/article.html b/monospace/templates/article.html index 722e5c5..60e6482 100644 --- a/monospace/templates/article.html +++ b/monospace/templates/article.html @@ -18,7 +18,7 @@ (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); })(); 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 %} 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 %} </article> </section> -{% endblock %}
\ No newline at end of file +{% endblock %} 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> diff --git a/notmyidea-cms/templates/article.html b/notmyidea-cms/templates/article.html index 1d869c0..790ee51 100644 --- a/notmyidea-cms/templates/article.html +++ b/notmyidea-cms/templates/article.html @@ -18,7 +18,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> diff --git a/sneakyidea/templates/article.html b/sneakyidea/templates/article.html index 6b20c6e..759f48d 100644 --- a/sneakyidea/templates/article.html +++ b/sneakyidea/templates/article.html @@ -19,7 +19,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> diff --git a/subtle/templates/article.html b/subtle/templates/article.html index fc7e589..22e27b5 100755 --- a/subtle/templates/article.html +++ b/subtle/templates/article.html @@ -22,7 +22,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> diff --git a/syte/templates/article.html b/syte/templates/article.html index 93dded9..17efb94 100644 --- a/syte/templates/article.html +++ b/syte/templates/article.html @@ -41,7 +41,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> diff --git a/tuxlite_tbs/templates/disqus.html b/tuxlite_tbs/templates/disqus.html index ddaaedd..0459eb7 100644 --- a/tuxlite_tbs/templates/disqus.html +++ b/tuxlite_tbs/templates/disqus.html @@ -6,7 +6,7 @@ (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> diff --git a/waterspill-en/templates/article.html b/waterspill-en/templates/article.html index a4aa4de..0ba4ba8 100644 --- a/waterspill-en/templates/article.html +++ b/waterspill-en/templates/article.html @@ -26,7 +26,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> diff --git a/waterspill/templates/article.html b/waterspill/templates/article.html index baa42cf..0224278 100644 --- a/waterspill/templates/article.html +++ b/waterspill/templates/article.html @@ -26,7 +26,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> |