-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
971a173
commit 64e7a85
Showing
1,430 changed files
with
143,169 additions
and
18 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
source 'https://rubygems.org' | ||
gem 'github-pages', group: :jekyll_plugins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,238 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
activesupport (4.2.9) | ||
i18n (~> 0.7) | ||
minitest (~> 5.1) | ||
thread_safe (~> 0.3, >= 0.3.4) | ||
tzinfo (~> 1.1) | ||
addressable (2.5.2) | ||
public_suffix (>= 2.0.2, < 4.0) | ||
coffee-script (2.4.1) | ||
coffee-script-source | ||
execjs | ||
coffee-script-source (1.11.1) | ||
colorator (1.1.0) | ||
commonmarker (0.17.7.1) | ||
ruby-enum (~> 0.5) | ||
concurrent-ruby (1.0.5) | ||
ethon (0.11.0) | ||
ffi (>= 1.3.0) | ||
execjs (2.7.0) | ||
faraday (0.14.0) | ||
multipart-post (>= 1.2, < 3) | ||
ffi (1.9.18) | ||
forwardable-extended (2.6.0) | ||
gemoji (3.0.0) | ||
github-pages (175) | ||
activesupport (= 4.2.9) | ||
github-pages-health-check (= 1.3.5) | ||
jekyll (= 3.6.2) | ||
jekyll-avatar (= 0.5.0) | ||
jekyll-coffeescript (= 1.0.2) | ||
jekyll-commonmark-ghpages (= 0.1.3) | ||
jekyll-default-layout (= 0.1.4) | ||
jekyll-feed (= 0.9.2) | ||
jekyll-gist (= 1.4.1) | ||
jekyll-github-metadata (= 2.9.3) | ||
jekyll-mentions (= 1.2.0) | ||
jekyll-optional-front-matter (= 0.3.0) | ||
jekyll-paginate (= 1.1.0) | ||
jekyll-readme-index (= 0.2.0) | ||
jekyll-redirect-from (= 0.12.1) | ||
jekyll-relative-links (= 0.5.2) | ||
jekyll-remote-theme (= 0.2.3) | ||
jekyll-sass-converter (= 1.5.0) | ||
jekyll-seo-tag (= 2.3.0) | ||
jekyll-sitemap (= 1.1.1) | ||
jekyll-swiss (= 0.4.0) | ||
jekyll-theme-architect (= 0.1.0) | ||
jekyll-theme-cayman (= 0.1.0) | ||
jekyll-theme-dinky (= 0.1.0) | ||
jekyll-theme-hacker (= 0.1.0) | ||
jekyll-theme-leap-day (= 0.1.0) | ||
jekyll-theme-merlot (= 0.1.0) | ||
jekyll-theme-midnight (= 0.1.0) | ||
jekyll-theme-minimal (= 0.1.0) | ||
jekyll-theme-modernist (= 0.1.0) | ||
jekyll-theme-primer (= 0.5.2) | ||
jekyll-theme-slate (= 0.1.0) | ||
jekyll-theme-tactile (= 0.1.0) | ||
jekyll-theme-time-machine (= 0.1.0) | ||
jekyll-titles-from-headings (= 0.5.0) | ||
jemoji (= 0.8.1) | ||
kramdown (= 1.16.2) | ||
liquid (= 4.0.0) | ||
listen (= 3.0.6) | ||
mercenary (~> 0.3) | ||
minima (= 2.1.1) | ||
rouge (= 2.2.1) | ||
terminal-table (~> 1.4) | ||
github-pages-health-check (1.3.5) | ||
addressable (~> 2.3) | ||
net-dns (~> 0.8) | ||
octokit (~> 4.0) | ||
public_suffix (~> 2.0) | ||
typhoeus (~> 0.7) | ||
html-pipeline (2.7.1) | ||
activesupport (>= 2) | ||
nokogiri (>= 1.4) | ||
i18n (0.9.3) | ||
concurrent-ruby (~> 1.0) | ||
jekyll (3.6.2) | ||
addressable (~> 2.4) | ||
colorator (~> 1.0) | ||
jekyll-sass-converter (~> 1.0) | ||
jekyll-watch (~> 1.1) | ||
kramdown (~> 1.14) | ||
liquid (~> 4.0) | ||
mercenary (~> 0.3.3) | ||
pathutil (~> 0.9) | ||
rouge (>= 1.7, < 3) | ||
safe_yaml (~> 1.0) | ||
jekyll-avatar (0.5.0) | ||
jekyll (~> 3.0) | ||
jekyll-coffeescript (1.0.2) | ||
coffee-script (~> 2.2) | ||
coffee-script-source (~> 1.11.1) | ||
jekyll-commonmark (1.1.0) | ||
commonmarker (~> 0.14) | ||
jekyll (>= 3.0, < 4.0) | ||
jekyll-commonmark-ghpages (0.1.3) | ||
commonmarker (~> 0.17.6) | ||
jekyll-commonmark (~> 1) | ||
rouge (~> 2) | ||
jekyll-default-layout (0.1.4) | ||
jekyll (~> 3.0) | ||
jekyll-feed (0.9.2) | ||
jekyll (~> 3.3) | ||
jekyll-gist (1.4.1) | ||
octokit (~> 4.2) | ||
jekyll-github-metadata (2.9.3) | ||
jekyll (~> 3.1) | ||
octokit (~> 4.0, != 4.4.0) | ||
jekyll-mentions (1.2.0) | ||
activesupport (~> 4.0) | ||
html-pipeline (~> 2.3) | ||
jekyll (~> 3.0) | ||
jekyll-optional-front-matter (0.3.0) | ||
jekyll (~> 3.0) | ||
jekyll-paginate (1.1.0) | ||
jekyll-readme-index (0.2.0) | ||
jekyll (~> 3.0) | ||
jekyll-redirect-from (0.12.1) | ||
jekyll (~> 3.3) | ||
jekyll-relative-links (0.5.2) | ||
jekyll (~> 3.3) | ||
jekyll-remote-theme (0.2.3) | ||
jekyll (~> 3.5) | ||
rubyzip (>= 1.2.1, < 3.0) | ||
typhoeus (>= 0.7, < 2.0) | ||
jekyll-sass-converter (1.5.0) | ||
sass (~> 3.4) | ||
jekyll-seo-tag (2.3.0) | ||
jekyll (~> 3.3) | ||
jekyll-sitemap (1.1.1) | ||
jekyll (~> 3.3) | ||
jekyll-swiss (0.4.0) | ||
jekyll-theme-architect (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-cayman (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-dinky (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-hacker (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-leap-day (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-merlot (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-midnight (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-minimal (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-modernist (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-primer (0.5.2) | ||
jekyll (~> 3.5) | ||
jekyll-github-metadata (~> 2.9) | ||
jekyll-seo-tag (~> 2.2) | ||
jekyll-theme-slate (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-tactile (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-time-machine (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-titles-from-headings (0.5.0) | ||
jekyll (~> 3.3) | ||
jekyll-watch (1.5.1) | ||
listen (~> 3.0) | ||
jemoji (0.8.1) | ||
activesupport (~> 4.0, >= 4.2.9) | ||
gemoji (~> 3.0) | ||
html-pipeline (~> 2.2) | ||
jekyll (>= 3.0) | ||
kramdown (1.16.2) | ||
liquid (4.0.0) | ||
listen (3.0.6) | ||
rb-fsevent (>= 0.9.3) | ||
rb-inotify (>= 0.9.7) | ||
mercenary (0.3.6) | ||
mini_portile2 (2.3.0) | ||
minima (2.1.1) | ||
jekyll (~> 3.3) | ||
minitest (5.11.2) | ||
multipart-post (2.0.0) | ||
net-dns (0.8.0) | ||
nokogiri (1.8.1) | ||
mini_portile2 (~> 2.3.0) | ||
octokit (4.8.0) | ||
sawyer (~> 0.8.0, >= 0.5.3) | ||
pathutil (0.16.1) | ||
forwardable-extended (~> 2.6) | ||
public_suffix (2.0.5) | ||
rb-fsevent (0.10.2) | ||
rb-inotify (0.9.10) | ||
ffi (>= 0.5.0, < 2) | ||
rouge (2.2.1) | ||
ruby-enum (0.7.1) | ||
i18n | ||
rubyzip (1.2.1) | ||
safe_yaml (1.0.4) | ||
sass (3.5.5) | ||
sass-listen (~> 4.0.0) | ||
sass-listen (4.0.0) | ||
rb-fsevent (~> 0.9, >= 0.9.4) | ||
rb-inotify (~> 0.9, >= 0.9.7) | ||
sawyer (0.8.1) | ||
addressable (>= 2.3.5, < 2.6) | ||
faraday (~> 0.8, < 1.0) | ||
terminal-table (1.8.0) | ||
unicode-display_width (~> 1.1, >= 1.1.1) | ||
thread_safe (0.3.6) | ||
typhoeus (0.8.0) | ||
ethon (>= 0.8.0) | ||
tzinfo (1.2.4) | ||
thread_safe (~> 0.1) | ||
unicode-display_width (1.3.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
github-pages | ||
|
||
BUNDLED WITH | ||
1.16.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2013 Zhuang Ma | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# 图 | ||
|
||
我的个人博客:<https://lihuimintu.github.io/> | ||
|
||
Fork自 毛毛虫_Wendy的<http://mmcwendy.info> | ||
|
||
PS:毛毛虫_Wendy已经删除她的 Blog 仓库。 | ||
|
||
## 概览 | ||
|
||
<!-- vim-markdown-toc GFM --> | ||
|
||
* [Fork 指南](#fork-指南) | ||
* [经验与思考](#经验与思考) | ||
* [致谢](#致谢) | ||
|
||
<!-- vim-markdown-toc --> | ||
|
||
## Fork 指南 | ||
|
||
Fork 本项目之后,还需要做一些事情才能让你的页面「正确」跑起来。 | ||
|
||
1. 正确设置项目名称与分支。 | ||
|
||
按照 GitHub Pages 的规定,名称为 `username.github.io` 的项目的 master 分支。\ | ||
username 为你 github 的账号名称 | ||
|
||
2. 修改域名。 | ||
|
||
如果你需要绑定自己的域名,那么修改 CNAME 文件的内容;如果不需要绑定自己的域名,那么删掉 CNAME 文件。 \ | ||
毛毛虫_Wendy上面有介绍怎么修改域名。需要绑定域名的可以参考她的方式 \ | ||
本人没有使用域名,已经将其 CNAME 文件删除了 | ||
|
||
3. 修改配置。 | ||
|
||
网站的配置基本都集中在 \_config.yml 文件中,将其中与个人信息相关的部分替换成你自己的,比如网站的 url、title、subtitle 和第三方评论模块的配置等。 | ||
|
||
**评论模块:** 目前支持 disqus、gitment 和 gitalk,选用其中一种就可以了。它们各自的配置指南链接在 \_config.yml 文件的 Comments 一节里都贴出来了。 | ||
|
||
本人使用的是 gitalk 。gitment 按教程配置没成功。有报错,没找到解决方式,于是放弃。\ | ||
[注册 OAuth Application](https://github.com/settings/applications/new) | ||
来注册一个新的 OAuth Application。其他内容可以随意填写, | ||
但要确保填入正确的 callback URL(一般是评论页面对应的域名,如 https://imsun.net,这里我填的是我 Blog 域名 https://lihuimintu.github.io )。\ | ||
你会得到一个 client ID 和一个 client secret,这个将被用于之后的用户登录。 | ||
将其在 _config.yml 中替换掉 | ||
``` | ||
gitalk: | ||
owner: '你的 GitHub ID' | ||
repo: '存储评论的 repo' | ||
clientID: '你的 client ID' | ||
clientSecret: '你的 client secret' | ||
``` | ||
在这里你得新建一个存储评论的仓库 | ||
|
||
4. 删除我的文章与图片。 | ||
|
||
如下文件夹中除了 template.md 文件外,都可以全部删除,然后添加你自己的内容。 | ||
|
||
* \_posts 文件夹中是我已发布的博客文章。 | ||
* \_drafts 文件夹中是我尚未发布的博客文章。 | ||
* \_wiki 文件夹中是我已发布的 wiki 页面。 | ||
* images 文件夹中是我的文章和页面里使用的图片。 | ||
|
||
5. 修改「关于」页面。 | ||
|
||
pages/about.md 文件内容对应网站的「关于」页面,里面的内容多为个人相关,将它们替换成你自己的信息,包括 \_data 目录下的 skills.yml 和 social.yml 文件里的数据。 | ||
|
||
6. 增加博客阅读统计功能。 | ||
使用的是leancloud,参照的[博客来源][1] | ||
|
||
本人未用博客阅读统计功能。在 _config.yml 将其关闭了 | ||
|
||
## 经验与思考 | ||
|
||
* 大家可以先参考毛毛虫_Wendy的经验与思考 | ||
* 评论的真是坑到我了。为了后人少走弯路,写下了踩坑过程。 | ||
* 使用方式先在 _drafts 下新建 md 文件。文件开头参考 template.md 模版。写好后再移动到 _posts/blog 下。接着提交到 GitHub 即可 | ||
|
||
|
||
## 致谢 | ||
|
||
本博客外观 | ||
基于 [毛毛虫_Wendy](http://mmcwendy.info) | ||
基于 [DONGChuan](http://dongchuan.github.io) | ||
基于 [Zhuang Ma](http://mazhuang.org/) | ||
修改,非常感谢! | ||
|
||
[1]: http://jekyllthemes.org/ |
Oops, something went wrong.