removes disqus

This commit is contained in:
Marvin Steadfast 2019-04-15 15:37:12 +02:00
parent 111717d88a
commit ed3decf73f
5 changed files with 1 additions and 38 deletions

View File

@ -24,6 +24,6 @@ FEED_DOMAIN = SITEURL
#PIWIK_SITE_ID = 5 #PIWIK_SITE_ID = 5
# DISQUS # DISQUS
DISQUS_SITENAME = "xsteadfastx" #DISQUS_SITENAME = "xsteadfastx"
#ISSO_URL = 'http://comments.xsteadfastx.org' #ISSO_URL = 'http://comments.xsteadfastx.org'

View File

@ -12,12 +12,6 @@
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %},{% endif %} <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %},{% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if DISQUS_SITENAME %}
&#8226; <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">Leave a comment</a>
{% endif %}
</p> </p>
{{ article.content }} {{ article.content }}
{% include 'disqus.html' %}
{% endblock %} {% endblock %}

View File

@ -1,12 +0,0 @@
{% if DISQUS_SITENAME %}
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = '{{ DISQUS_SITENAME }}';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
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="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
{% endif %}

View File

@ -1,11 +0,0 @@
{% if DISQUS_SITENAME %}
<script type="text/javascript">
var disqus_shortname = '{{ DISQUS_SITENAME }}';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
{% endif %}

View File

@ -12,9 +12,6 @@
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %},{% endif %} <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %},{% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if DISQUS_SITENAME %}
&#8226; <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">Leave a comment</a>
{% endif %}
</p> </p>
{{ article.content }} {{ article.content }}
{% endfor %} {% endfor %}
@ -24,8 +21,3 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block scripts %}
{{ super() }}
{% include 'disqus_count.html' %}
{% endblock %}