Merge pull request #139 from jswh/master

remove duoshuo
This commit is contained in:
Alexandre Vicenzi 2017-11-13 13:15:48 -02:00 committed by GitHub
commit 86e7ef9568
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
- [Disqus](https://disqus.com/)
- [duoshuo](http://duoshuo.com/) (new in 2.2)
- [Gauges Analytics](http://get.gaug.es/)
- [Google AdSense](https://www.google.com.br/adsense/start/) (new in 2.1)
- [Google Analytics](https://www.google.com/analytics/web/)

View file

@ -87,6 +87,5 @@
{% endif %}
{% include "partial/disqus.html" %}
{% include "partial/duoshuo.html" %}
</article>
{% 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 %}