Skip to content

Commit 94930df

Browse files
chengwei2chengwei2
authored andcommitted
update
1 parent d2d64d6 commit 94930df

4 files changed

Lines changed: 17 additions & 312 deletions

File tree

‎_config.yml‎

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ sidebar-avatar: /img/about-BY-gentle.jpg # use absolute URL, seeing it's us
1818

1919
# SNS settings
2020
RSS: false
21-
# weibo_username: qiubaiying
22-
zhihu_username: qiubaiying
23-
github_username: qiubaiying
24-
facebook_username: baiying.qiu.7
25-
jianshu_username: e71990ada2fd
26-
#twitter_username: qiubaiying
21+
# weibo_username: chengweii
22+
zhihu_username: chengweii
23+
github_username: chengweii
24+
facebook_username: chengweii
25+
jianshu_username: f583e985433c
26+
#twitter_username: chengweii
2727

2828

2929

@@ -56,7 +56,7 @@ kramdown:
5656

5757
# 评论系统
5858
# Disqus settings(https://disqus.com/)
59-
disqus_username: qiubaiying
59+
disqus_username: chengweii
6060

6161
# Analytics settings
6262
# Baidu Analytics
@@ -85,16 +85,7 @@ service-worker: true
8585
# Friends
8686
friends: [
8787
{
88-
title: "WY",
89-
href: "http://zhengwuyang.com"
90-
},{
91-
title: "简书·BY",
92-
href: "http://www.jianshu.com/u/e71990ada2fd"
93-
},{
94-
title: "Apple",
95-
href: "https://apple.com"
96-
},{
97-
title: "Apple Developer",
98-
href: "https://developer.apple.com/"
88+
title: "简书.CW",
89+
href: "http://www.jianshu.com/u/f583e985433c"
9990
}
10091
]

‎_layouts/keynote.html‎

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -68,33 +68,6 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
6868

6969
<hr style="visibility: hidden;">
7070

71-
{% if site.duoshuo_share && site.duoshuo_username %}
72-
<!-- 多说 Share start -->
73-
<div class="ds-share"
74-
style="text-align: right"
75-
data-thread-key="{{page.id}}" data-title="{{page.title}}"
76-
data-images="{{ site.url }}{{site.baseurl}}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}"
77-
data-content="{{ content | strip_html | truncate:80 }} | Hux Blog,@Hux黄玄 的个人博客"
78-
data-url="{{site.url}}{{site.baseurl}}{{page.url}}">
79-
<div class="ds-share-inline">
80-
<style>
81-
.ds-share-icons-16 {display:none;}
82-
</style>
83-
<ul class="ds-share-icons-16">
84-
<li data-toggle="ds-share-icons-more"><a class="ds-more" href="#">分享到:</a></li>
85-
<li><a class="ds-wechat flat" href="javascript:void(0);" data-service="wechat">微信</a></li>
86-
<li><a class="ds-weibo flat" href="javascript:void(0);" data-service="weibo">微博</a></li>
87-
<li><a class="ds-douban flat" href="javascript:void(0);" data-service="douban">豆瓣</a></li>
88-
</ul>
89-
<div class="ds-share-icons-more">
90-
</div>
91-
</div>
92-
<hr>
93-
</div>
94-
<!-- 多少 Share end-->
95-
{% endif %}
96-
97-
9871
<ul class="pager">
9972
{% if page.previous.url %}
10073
<li class="previous">
@@ -114,19 +87,6 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
11487
{% endif %}
11588
</ul>
11689

117-
118-
{% if site.duoshuo_username %}
119-
<!-- 多说评论框 start -->
120-
<div class="comment">
121-
<div class="ds-thread"
122-
data-thread-key="{{page.id}}"
123-
data-title="{{page.title}}"
124-
data-url="{{site.url}}{{site.baseurl}}{{page.url}}" >
125-
</div>
126-
</div>
127-
<!-- 多说评论框 end -->
128-
{% endif %}
129-
13090
{% if site.disqus_username %}
13191
<!-- disqus 评论框 start -->
13292
<div class="comment">
@@ -199,27 +159,6 @@ <h5>FRIENDS</h5>
199159
resize();
200160
</script>
201161

202-
{% if site.duoshuo_username %}
203-
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
204-
<script type="text/javascript">
205-
// dynamic User by Hux
206-
var _user = '{{site.duoshuo_username}}';
207-
208-
// duoshuo comment query.
209-
var duoshuoQuery = {short_name: _user };
210-
(function() {
211-
var ds = document.createElement('script');
212-
ds.type = 'text/javascript';ds.async = true;
213-
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
214-
ds.charset = 'UTF-8';
215-
(document.getElementsByTagName('head')[0]
216-
|| document.getElementsByTagName('body')[0]).appendChild(ds);
217-
})();
218-
</script>
219-
<!-- 多说公共JS代码 end -->
220-
{% endif %}
221-
222-
223162
{% if site.disqus_username %}
224163
<!-- disqus 公共JS代码 start (一个网页只需插入一次) -->
225164
<script type="text/javascript">

‎_layouts/post.html‎

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -109,19 +109,6 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
109109
{% endif %}
110110
</ul>
111111

112-
113-
{% if site.duoshuo_username %}
114-
<!-- 多说评论框 start -->
115-
<div class="comment">
116-
<div class="ds-thread"
117-
data-thread-key="{{page.id}}"
118-
data-title="{{page.title}}"
119-
data-url="{{site.url}}{{site.baseurl}}{{page.url}}" >
120-
</div>
121-
</div>
122-
<!-- 多说评论框 end -->
123-
{% endif %}
124-
125112
{% if site.disqus_username %}
126113
<!-- disqus 评论框 start -->
127114
<div class="comment">
@@ -187,28 +174,6 @@ <h5>FRIENDS</h5>
187174
</div>
188175
</article>
189176

190-
191-
{% if site.duoshuo_username %}
192-
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
193-
<script type="text/javascript">
194-
// dynamic User by Hux
195-
var _user = '{{site.duoshuo_username}}';
196-
197-
// duoshuo comment query.
198-
var duoshuoQuery = {short_name: _user };
199-
(function() {
200-
var ds = document.createElement('script');
201-
ds.type = 'text/javascript';ds.async = true;
202-
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
203-
ds.charset = 'UTF-8';
204-
(document.getElementsByTagName('head')[0]
205-
|| document.getElementsByTagName('body')[0]).appendChild(ds);
206-
})();
207-
</script>
208-
<!-- 多说公共JS代码 end -->
209-
{% endif %}
210-
211-
212177
{% if site.disqus_username %}
213178
<!-- disqus 公共JS代码 start (一个网页只需插入一次) -->
214179
<script type="text/javascript">

0 commit comments

Comments
 (0)