mirror of
https://github.com/vale981/ablog
synced 2025-03-05 09:11:38 -05:00
Change disqus src to avoid mixed content warnings
Change the location of the disqus.com/count.js in order to avoid mixed content warnings when serving over SSL.
This commit is contained in:
parent
d5370358d2
commit
48413ad6ad
1 changed files with 2 additions and 2 deletions
|
@ -58,11 +58,11 @@
|
|||
(function () {
|
||||
var s = document.createElement('script'); s.async = true;
|
||||
s.type = 'text/javascript';
|
||||
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
{% if fa %}<i class="fa-fw fa fa-comments"></i>{% endif %}
|
||||
<a href="{% if pagename != post.docname%}{{ pathto(post.docname) }}{% endif %}#disqus_thread" data-disqus-identifier="/{{post.docname}}/"> {% if not fa %}comment(s){% endif %}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue