@@ -165,15 +165,18 @@ jianshu_username: jianshu_id
165
165
166
166
新加入了** 简书** ,` jianshu_id ` 在你打开你的简书主页后的地址如:` http://www.jianshu.com/u/e71990ada2fd ` 中,后面这一串数字:` e71990ada2fd `
167
167
168
- #### 评论
168
+ #### 评论系统
169
169
170
- 集成了多说社会化评论,到多说注册账号,然后将` duoshuo_username ` 换成你的账号即可。
170
+ ~~ 集成了多说社会化评论,到多说注册账号,然后将` duoshuo_username ` 换成你的账号即可。~~
171
+ > 多说即将关闭:说将于2017年6月1日正式关停服务,[ 详见官网] ( http://dev.duoshuo.com/threads/58d1169ae293b89a20c57241 )
172
+
173
+ 我们博客的评论系统切换到 [ Disqus] ( https://disqus.com/ ) ,在官网注册帐号之后,在下面的填写你多说的用户名的就可以使用。
174
+
175
+ ![ ] ( https://ww2.sinaimg.cn/large/006tNbRwgy1feudbz8o8sj30mu0g1abt.jpg )
171
176
172
177
```
173
- # Duoshuo settings
174
- duoshuo_username: YouName # 换成你的多说账号
175
- # Share component is depend on Comment so we can NOT use share only.
176
- duoshuo_share: true # set to false if you want to use Comment without Sharing
178
+ # Disqus settings(https://disqus.com/)
179
+ disqus_username: qiubaiying
177
180
```
178
181
179
182
#### 网站统计
@@ -499,5 +502,73 @@ tags: #标签
499
502
直接在评论中提出来或私信我,我会一一替大家解决的😀
500
503
501
504
505
+ # 其他
506
+
507
+ 最近有人往我的远程仓库不停的 ** push** ,一天连收几十封邮件!例如像这样的
508
+
509
+ ![ ] ( https://ww4.sinaimg.cn/large/006tNbRwgy1feueecznhjj30k50lpq6u.jpg )
510
+
511
+ 这打扰了我的工作!
512
+
513
+ 所以,** 请不要往我的仓库上推送分支** !
514
+
515
+ 我发现一个问题是,很多人每次修改博客的内容都commit一次到远程,然后再查看修改结果,这样效率非常低!
516
+
517
+ ### 来,上车!
518
+
519
+ ## 在本地调试博客
520
+
521
+ 有心的同学在 [ jekyll官网] ( http://jekyllcn.com/ ) 就会发现 ` jekyll ` 的 提供的实例代码。
522
+
523
+ ```
524
+ ~ $ gem install jekyll bundler
525
+ ~ $ jekyll new my-awesome-site
526
+ ~ $ cd my-awesome-site
527
+ ~/my-awesome-site $ bundle install
528
+ ~/my-awesome-site $ bundle exec jekyll serve
529
+ # => 打开浏览器 http://localhost:4000
530
+ ```
531
+
532
+
533
+ 这段命令创建了一个默认的 ` jekll ` 网站,然后在本机的 4000 窗口展示。聪明的你应该发现怎么做了吧~
534
+
535
+ 安装 ` jekyll ` 和 ` jekyll bundler `
536
+
537
+ ```
538
+ $ gem install jekyll
539
+ $ gem install jekyll bundler
540
+ ```
541
+
542
+ 进入你的 ** Blog 所在目录** ,然后创建本地服务器
543
+
544
+ ```
545
+ $ jekyll s
546
+
547
+ ```
548
+
549
+ 然后会显示
550
+
551
+ ```
552
+ Auto-regeneration: enabled for '/Users/baiying/Blog'
553
+ Configuration file: /Users/baiying/Blog/_config.yml
554
+ Server address: http://127.0.0.1:4000/
555
+ Server running... press ctrl-c to stop.
556
+ ```
557
+
558
+ 你就可以在 < http://127.0.0.1:4000/ > 看到你的博客,你对本地博客的修改都会在这个地址进行显示,这大大提高了对博客的配置效率。
559
+
560
+ 使用` ctrl+c ` 就可以停止 ** serve**
561
+
562
+ # Star
563
+
564
+ 若本教程顺利帮你搭建了自己的个人博客,请不要 ** 害羞** ,给我的 [ github仓库] ( https://github.com/qiubaiying/qiubaiying.github.io ) 点个 ** star** 吧!
565
+
566
+ 因为最近发现 Fork 将近破百,加上直接 Clone 仓库的,保守估计已经帮助上百人成功的搭建了自己的博客,可是 Star 却仅仅只有 ** 12** !可能还是做的不够好吧!
567
+
568
+ ### ** 别无他求,点个 [ Star] ( https://github.com/qiubaiying/qiubaiying.github.io ) 吧** !
569
+
570
+ ![ ] ( https://ww2.sinaimg.cn/large/006tNbRwgy1feudm8xrmgj30vu0idn08.jpg )
571
+
572
+ ** 心满意足!**
502
573
503
574
0 commit comments