remove duoshuo

This commit is contained in:
jswh Elric 2017-11-12 01:26:34 +08:00
parent 229ad20d36
commit 4d1d792174
3 changed files with 0 additions and 22 deletions

View file

@ -23,7 +23,6 @@ DON'T send any questions, issues or anything related to Flex to my personal emai
- [AddThis](http://www.addthis.com/) Share Buttons and Related Posts - [AddThis](http://www.addthis.com/) Share Buttons and Related Posts
- [Disqus](https://disqus.com/) - [Disqus](https://disqus.com/)
- [duoshuo](http://duoshuo.com/) (new in 2.2)
- [Gauges Analytics](http://get.gaug.es/) - [Gauges Analytics](http://get.gaug.es/)
- [Google AdSense](https://www.google.com.br/adsense/start/) (new in 2.1) - [Google AdSense](https://www.google.com.br/adsense/start/) (new in 2.1)
- [Google Analytics](https://www.google.com/analytics/web/) - [Google Analytics](https://www.google.com/analytics/web/)

View file

@ -87,6 +87,5 @@
{% endif %} {% endif %}
{% include "partial/disqus.html" %} {% include "partial/disqus.html" %}
{% include "partial/duoshuo.html" %}
</article> </article>
{% endblock %} {% endblock %}

View file

@ -1,20 +0,0 @@
{% if DUOSHUO_SITENAME %}
<!-- duoshuo -->
<div class="ds-thread" data-thread-key="{{ article.slug }}" data-title="{{ article.title }}" data-url="{{ SITEURL }}/{{ article.url }}"></div>
<script type="text/javascript">
var duoshuoQuery = {short_name:'{{ DUOSHUO_SITENAME }}'};
(function() {
var ds = document.createElement('script');
ds.type = 'text/javascript';ds.async = true;
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0]
|| document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script>
<noscript>
{{ _('Please enable JavaScript to view comments.') }}
</noscript>
<!-- End duoshuo -->
{% endif %}