remove duoshuo
This commit is contained in:
parent
229ad20d36
commit
4d1d792174
3 changed files with 0 additions and 22 deletions
|
@ -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/)
|
||||
|
|
|
@ -87,6 +87,5 @@
|
|||
{% endif %}
|
||||
|
||||
{% include "partial/disqus.html" %}
|
||||
{% include "partial/duoshuo.html" %}
|
||||
</article>
|
||||
{% endblock %}
|
||||
|
|
|
@ -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 %}
|
Loading…
Reference in a new issue