File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ git pull
6363- 增加 360 站点认证 360-site-verification
6464- [百度站内分享](https://github.com/xirong/hexo-theme-next/wiki/%E6%96%B0%E5%A2%9E%E7%99%BE%E5%BA%A6%E7%AB%99%E5%86%85%E5%88%86%E4%BA%AB)
6565- [简体中文版增加腾讯公益404页面](https://github.com/xirong/hexo-theme-next/wiki/%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%E5%A2%9E%E5%8A%A0%E8%85%BE%E8%AE%AF%E5%85%AC%E7%9B%8A404%E9%A1%B5%E9%9D%A2)
66+ - JiaThis 分享服务
6667
6768
6869## 配置
@@ -86,6 +87,8 @@ duoshuo_shortname: your-duoshuo-shortname
8687# DISQUS 帐号 (如果已经设置 多说 帐号,此选项将被跳过)
8788disqus_shortname: your-disqus-shortname
8889
90+ # JiaThis 分享服务
91+ jiathis: true
8992
9093# 社交链接,将在侧栏中显示
9194social:
Original file line number Diff line number Diff line change 1+ <!-- JiaThis Button BEGIN -->
2+ <div class="jiathis_style">
3+ <a class="jiathis_button_tsina"></a>
4+ <a class="jiathis_button_tqq"></a>
5+ <a class="jiathis_button_weixin"></a>
6+ <a class="jiathis_button_cqq"></a>
7+ <a class="jiathis_button_douban"></a>
8+ <a class="jiathis_button_renren"></a>
9+ <a class="jiathis_button_qzone"></a>
10+ <a class="jiathis_button_kaixin001"></a>
11+ <a class="jiathis_button_copy"></a>
12+ <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis" target="_blank"></a>
13+ <a class="jiathis_counter_style"></a>
14+ </div>
15+ <script type="text/javascript" >
16+ var jiathis_config={
17+ hideMore:false
18+ }
19+ </script>
20+ <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script>
21+ <!-- JiaThis Button END -->
Original file line number Diff line number Diff line change 1313 <div id="posts" class="posts-expand">
1414 {{ post_template.render(page) }}
1515
16+ {% if theme.jiathis %}
17+ <div class="post-spread">
18+ {% include '_partials/jiathis.swig' %}
19+ </div>
20+ {% endif %}
21+
1622 {% if page.comments %}
1723 <div class="comments" id="comments">
1824 {% if (config.duoshuo and config.duoshuo.shortname) or config.duoshuo_shortname %}
Original file line number Diff line number Diff line change 1+ .post-spread {
2+ margin-top: 20px;
3+ text-align: center;
4+ }
5+
6+ .jiathis_style {
7+ display: inline-block;
8+
9+ a { border: none; }
10+ }
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ for $mixin in $mixins
6666@import "_common/_component/gallery";
6767@import "_common/_component/back-to-top";
6868@import "_common/_component/duoshuo";
69+ @import "_common/_component/jiathis";
6970
7071
7172// Page specific styles
You can’t perform that action at this time.
0 commit comments