diff --git a/ckanext/disqus/templates/disqus-comments.html b/ckanext/disqus/templates/disqus-comments.html index ccf702d..8dec687 100644 --- a/ckanext/disqus/templates/disqus-comments.html +++ b/ckanext/disqus/templates/disqus-comments.html @@ -17,7 +17,7 @@

Comments

}; (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/ckanext/disqus/templates/disqus-recent.html b/ckanext/disqus/templates/disqus-recent.html index 45201c9..f2d2a5d 100644 --- a/ckanext/disqus/templates/disqus-recent.html +++ b/ckanext/disqus/templates/disqus-recent.html @@ -7,7 +7,7 @@

Recent Comments

+ src="//${disqus_shortname}.disqus.com/recent_comments_widget.js?num_items=${disqus_num_comments}&hide_avatars=0&avatar_size=32&excerpt_length=200">