Posts Jekyll + Github Pages 搭建个人博客
Post
Cancel

Jekyll + Github Pages 搭建个人博客

Jekyll 简介

Jekyll 特点

Jekyll 的核心是一个文本转换引擎。它的方便之处在于支持多种文本标记语言:Markdown,Textile,HTML,然后 Jekyll 就会帮你加入你选择主题的样式的布局中。最终生成你自己的静态博客网站。

每一个程序员都有着一颗Geek的心

Jekyll 架构

一个基本的 Jekyll 网站的目录结构一般是像这样的:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.
├── _config.yml
├── _includes
|   ├── footer.html
|   └── header.html
├── _layouts
|   ├── default.html
|   ├── post.html
|   └── page.html
├── _posts
|   └── 2016-10-08-welcome-to-jekyll.markdown
├── _sass
|   ├── _base.scss
|   ├── _layout.scss
|   └── _syntax-highlighting.scss
├── about.md
├── css
|   └── main.scss
├── feed.xml
└── index.html

这些目录结构以及具体的作用可以参考 官网文档

GitHub Pages 简介

GitHub Pages 特点

互联网从诞生发展至今日,每天有无数的人在上面留下自己的足迹,他们用它记录生活、抒发情感、分享见解,这一切都离不开一个可以承载文字的平台,一个独立的、由自己掌控的平台,而 GitHub Pages 就是这么一个平台。

在这个平台里你可以使用自己的个性域名;可以在海量的主题里挑选最适合你的那一款,如果你技术极客,也可以根据自己的喜好,设计属于自己的个性化页面;你既可以在线创建和发布网站,也可以在本地通过客户端工具或者命令行进行网站和内容的管理。

GitHub Pages 优势

如果你把他作为一个轻量级的个人博客服务,GitHub Pages 相较 WordPress 之类的建站服务有什么优势呢?

  • 首先他是完全免费的,相较其他的同类产品,他能替你省下一笔服务费,节约下的钱可以让你买一些其他的会员服务;
  • 无须自己购买云服务进行搭建,只需按步骤一步步操作即可,即使你不懂他的技术细节;
  • 支持的功能多,玩法丰富,你可以绑定你的域名、使用免费的 HTTPS、自己 DIY 网站的主题、使用他人开发好的插件等等;
  • 当完成搭建后,你只需要专注于文章创作就可以了,其他诸如环境搭建、系统维护、文件存储的事情一概不用操心,都由 GitHub 处理。

当然了,作为一款免费的服务,我们也是要遵守 GitHub 官方使用建议和限制,在使用的时候项目和网站的大小不要超过 1GB,也不要过于频繁的更新网站的内容(每小时不超过 10 个版本),每个月的也要注意带宽使用上限为 100GB。

综合来看,GitHub Pages 依旧可以说是中小型博客或项目主页的最佳选项之一。

GitHub Pages 设置

自定义域名报错提示

1
2
3
4
5
Custom domain
Custom domains allow you to serve your site from a domain other than ouyangrong1313.github.io. Learn more.
ouyangrong.com
www.ouyangrong.com is improperly configured
Domain's DNS record could not be retrieved. For more information, see Learn more (InvalidDNSError). We recommend you change this to a CNAME record pointing to ouyangrong1313.github.io.

DNS (Domain Name System 的缩写)的作用非常简单,就是根据域名查出IP地址。你可以把它想象成一本巨大的电话本。 举例来说,如果你要访问域名 math.stackexchange.com,首先要通过DNS查出它的IP地址是151.101.129.69。

虽然只需要返回一个IP地址,但是DNS的查询过程非常复杂,分成多个步骤。 工具软件dig可以显示整个查询过程。

1
$ dig math.stackexchange.com

DNS服务器怎么会知道每个域名的IP地址呢?答案是分级查询。

比如,域名 math.stackexchange.com 显示为 math.stackexchange.com.。这不是疏忽,而是所有域名的尾部,实际上都有一个根域名。

举例来说,www.example.com 真正的域名是www.example.com.root,简写为 www.example.com.。因为,根域名.root对于所有域名都是一样的,所以平时是省略的。

根域名的下一级,叫做”顶级域名”(top-level domain,缩写为TLD),比如 .com、.net;再下一级叫做”次级域名”(second-level domain,缩写为SLD),比如www.example.com里面的.example,这一级域名是用户可以注册的;再下一级是主机名(host),比如 www.example.com 里面的www,又称为”三级域名”,这是用户在自己的域里面为服务器分配的名称,是用户可以任意分配的。

总结一下,域名的层级结构如下。

1
2
3
4
5
主机名.次级域名.顶级域名.根域名

# 即

host.sld.tld.root

主机记录添加:www 解析后的域名为 www.ouyangrong.com

个人博客的价值

最早受到的启发来自于十年前读的《Brand You》这本书。

作者提议每一个互联网人(现代人)一定需要一个博客,博客相当于你在互联网的家。 我们在实际生活中都有一个家,互联网上,你也需要有一个门牌号(域名)和你的家(博客)。

你完全可以通过 GitHub Pages 展示和输出自身价值,甚至可以把它打造成属于自己的互联网「身份证」。

搭建博客经验分享

jekyll 安装

报错提示

1
2
3
ouyangrong@ouyangrongdeMac-mini ~ % gem install jekyll bundler
ERROR:  While executing gem ... (Errno::EACCES)
    Permission denied @ rb_sysopen - /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ouyangrong@ouyangrongdeMac-mini ~ % sudo gem install jekyll
Password:
Successfully installed jekyll-4.2.0
Parsing documentation for jekyll-4.2.0
Done installing documentation for jekyll after 0 seconds
1 gem installed
ouyangrong@ouyangrongdeMac-mini ~ % sudo gem install jekyll bundler
Successfully installed jekyll-4.2.0
Parsing documentation for jekyll-4.2.0
Done installing documentation for jekyll after 0 seconds
Successfully installed bundler-2.2.17
Parsing documentation for bundler-2.2.17
Done installing documentation for bundler after 1 seconds
2 gems installed
1
2
ouyangrong@ouyangrongdeMac-mini ~ % jekyll new myBlog
zsh: command not found: jekyll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
ouyangrong@ouyangrongdeMac-mini ~ % jekyll
zsh: command not found: jekyll
ouyangrong@ouyangrongdeMac-mini ~ % gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 3.2.15
  - RUBY VERSION: 3.0.1 (2021-04-05 patchlevel 64) [x86_64-darwin19]
  - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/3.0.0
  - USER INSTALLATION DIRECTORY: /Users/ouyangrong/.gem/ruby/3.0.0
  - RUBY EXECUTABLE: /usr/local/opt/ruby/bin/ruby
  - GIT EXECUTABLE: /usr/bin/git
  - EXECUTABLE DIRECTORY: /usr/local/lib/ruby/gems/3.0.0/bin
  - SPEC CACHE DIRECTORY: /Users/ouyangrong/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /usr/local/Cellar/ruby/3.0.1/etc
  - RUBYGEMS PLATFORMS:
     - ruby
     - x86_64-darwin-19
  - GEM PATHS:
     - /usr/local/lib/ruby/gems/3.0.0
     - /Users/ouyangrong/.gem/ruby/3.0.0
     - /usr/local/Cellar/ruby/3.0.1/lib/ruby/gems/3.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - :sources => ["https://gems.ruby-china.com/"]
     - :concurrent_downloads => 8
  - REMOTE SOURCES:
     - https://gems.ruby-china.com/
  - SHELL PATH:
     - /usr/local/opt/ruby/bin
     - /usr/local/lib/ruby/gems/3.0.1/bin
     - /usr/local/bin
     - /usr/local/sbin
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin
     - /Library/Apple/usr/bin
     - /Users/ouyangrong/.rvm/bin

Add the brew ruby and gems path to your shell configuration:

1
2
3
4
5
6
7
8
9
10
11
Open ~/.zshrc
Open ~/.bash_profile

# If you're using Zsh
echo 'export PATH="/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/3.0.0/bin:$PATH"' >> ~/.zshrc

# If you're using Bash
echo 'export PATH="/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/3.0.0/bin:$PATH"' >> ~/.bash_profile

# Unsure which shell you are using? Type
echo $SHELL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ouyangrong@ouyangrongdeMac-mini ~ % gem install --user-install bundler jekyll
WARNING:  You don't have /Users/ouyangrong/.gem/ruby/3.0.0/bin in your PATH,
      gem executables will not run.
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Users/ouyangrong/.gem/ruby/3.0.0 directory.

# 添加这个路径
export PATH="/Users/ouyangrong/.gem/ruby/3.0.0/bin:$PATH"

# 然后报错
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Users/ouyangrong/.gem/ruby/3.0.0 directory.

ouyangrong@ouyangrongdeMac-mini ~ % jekyll -v       
jekyll 4.2.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ouyangrong@ouyangrongdeMac-mini ~ % sudo jekyll new myblog
ouyangrong@ouyangrongdeMac-mini ~ % cd myblog
ouyangrong@ouyangrongdeMac-mini myblog % ls
404.html _config.yml about.markdown
Gemfile  _posts  index.markdown
ouyangrong@ouyangrongdeMac-mini myblog % jekyll serve
/Users/ouyangrong/.gem/ruby/3.0.0/gems/bundler-2.2.17/lib/bundler/resolver.rb:338:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'minima (~> 2.5)' in rubygems repository https://rubygems.org/ or installed locally. (Bundler::GemNotFound)
The source does not contain any versions of 'minima'
 from /Users/ouyangrong/.gem/ruby/3.0.0/gems/bundler-2.2.17/lib/bundler/resolver.rb:306:in `each'
 from /Users/ouyangrong/.gem/ruby/3.0.0/gems/bundler-2.2.17/lib/bundler/resolver.rb:306:in `verify_gemfile_dependencies_are_found!'
 from /Users/ouyangrong/.gem/ruby/3.0.0/gems/bundler-2.2.17/lib/bundler/resolver.rb:58:in `start'
 from /Users/ouyangrong/.gem/ruby/3.0.0/gems/bundler-2.2.17/lib/bundler/resolver.rb:23:in `resolve'
 from /Users/ouyangrong/.gem/ruby/3.0.0/gems/bundler-2.2.17/lib/bundler/definition.rb:280:in `resolve'
 from /Users/ouyangrong/.gem/ruby/3.0.0/gems/bundler-2.2.17/lib/bundler/definition.rb:183:in `specs'
 from /Users/ouyangrong/.gem/ruby/3.0.0/gems/bundler-2.2.17/lib/bundler/definition.rb:253:in `specs_for'
 from /Users/ouyangrong/.gem/ruby/3.0.0/gems/bundler-2.2.17/lib/bundler/definition.rb:235:in `requested_specs'
 from /Users/ouyangrong/.gem/ruby/3.0.0/gems/bundler-2.2.17/lib/bundler/runtime.rb:91:in `block in definition_method'
 from /Users/ouyangrong/.gem/ruby/3.0.0/gems/bundler-2.2.17/lib/bundler/runtime.rb:20:in `setup'
 from /Users/ouyangrong/.gem/ruby/3.0.0/gems/bundler-2.2.17/lib/bundler.rb:148:in `setup'
 from /Users/ouyangrong/.gem/ruby/3.0.0/gems/jekyll-4.2.0/lib/jekyll/plugin_manager.rb:52:in `require_from_bundler'
 from /Users/ouyangrong/.gem/ruby/3.0.0/gems/jekyll-4.2.0/exe/jekyll:11:in `<top (required)>'
 from /Users/ouyangrong/.gem/ruby/3.0.0/bin/jekyll:23:in `load'
 from /Users/ouyangrong/.gem/ruby/3.0.0/bin/jekyll:23:in `<main>'

gem是一个Ruby程序,用来管理Ruby包的。bundler可以认为是一个针对项目的包管理程序,它通过项目目录下的Gemfile文件来读取项目依赖,然后安装这些依赖。当然,真正在安装的时候还是使用gem来安装的。

终于成功了

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
Last login: Tue May 18 14:52:33 on ttys000
ouyangrong@ouyangrongdeMac-mini ~ % cat Gemfile
cat: Gemfile: No such file or directory
ouyangrong@ouyangrongdeMac-mini ~ % cd my-site
ouyangrong@ouyangrongdeMac-mini my-site % ls
404.html    Gemfile.lock    _posts        about.markdown
Gemfile        _config.yml    _site        index.markdown
ouyangrong@ouyangrongdeMac-mini my-site % cat Gemfile
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
#     bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.2.0"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
  gem "jekyll-feed", "~> 0.12"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
  gem "tzinfo", "~> 1.2"
  gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

ouyangrong@ouyangrongdeMac-mini my-site % cat Gemfile | grep webrick
ouyangrong@ouyangrongdeMac-mini my-site % bundle add webrick
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Using public_suffix 4.0.6
Using bundler 2.2.17
Using colorator 1.1.0
Using concurrent-ruby 1.1.8
Using eventmachine 1.2.7
Using http_parser.rb 0.6.0
Using ffi 1.15.0
Using forwardable-extended 2.6.0
Using rb-fsevent 0.11.0
Using liquid 4.0.3
Using rouge 3.26.0
Using unicode-display_width 1.7.0
Using i18n 1.8.10
Using pathutil 0.16.2
Using addressable 2.7.0
Using em-websocket 0.5.2
Using terminal-table 2.0.0
Using sassc 2.4.0
Using rexml 3.2.5
Using jekyll-sass-converter 2.1.0
Using kramdown 2.3.1
Using rb-inotify 0.10.1
Using kramdown-parser-gfm 1.1.0
Using listen 3.5.1
Using mercenary 0.4.0
Using jekyll-watch 2.2.1
Using safe_yaml 1.0.5
Fetching webrick 1.7.0
Using jekyll 4.2.0
Using jekyll-feed 0.15.1
Using jekyll-seo-tag 2.7.1
Using minima 2.5.1
Installing webrick 1.7.0
ouyangrong@ouyangrongdeMac-mini my-site % cat Gemfile | grep webrick
gem "webrick", "~> 1.7"
ouyangrong@ouyangrongdeMac-mini my-site % ls
404.html    Gemfile.lock    _posts        about.markdown
Gemfile        _config.yml    _site        index.markdown
ouyangrong@ouyangrongdeMac-mini my-site % bundle exec jekyll serve
Configuration file: /Users/ouyangrong/my-site/_config.yml
            Source: /Users/ouyangrong/my-site
       Destination: /Users/ouyangrong/my-site/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
                    done in 0.373 seconds.
 Auto-regeneration: enabled for '/Users/ouyangrong/my-site'
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.
[2021-05-18 15:02:38] ERROR `/favicon.ico' not found.
[2021-05-18 15:02:42] ERROR `/favicon.ico' not found.
1
2
3
4
5
6
7
8
9
10
11
ouyangrong@ouyangrongdeMac-mini ~ % cd your_site
ouyangrong@ouyangrongdeMac-mini your_site % ls
Gemfile        _config.yml    _posts        css        js
Gemfile.lock    _includes    _sass        feed.xml
README.md    _layouts    assets        index.html
ouyangrong@ouyangrongdeMac-mini your_site % bundler install
/usr/local/Cellar/ruby/3.0.1/lib/ruby/3.0.0/rubygems.rb:281:in `find_spec_for_exe': Could not find 'bundler' (1.17.1) required by your /Users/ouyangrong/your_site/Gemfile.lock. (Gem::GemNotFoundException)
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:1.17.1`
    from /usr/local/Cellar/ruby/3.0.1/lib/ruby/3.0.0/rubygems.rb:300:in `activate_bin_path'
    from /Users/ouyangrong/.gem/ruby/3.0.0/bin/bundler:23:in `<main>'

This is because gem install bundler will install the newer 2.x version of bundler and the Gemfile.lock specifies the version of bundler to use at the bottom.

You can either:

Install bundler 1.x

gem install bundler:1.17.3

If this does not work try deleting Gemfile.lock and doing bundle install.

Upgrade Gemfile.lock to use 2.x

bundle update –bundler

1
2
3
ouyangrong@ouyangrongdeMac-mini ouyang_site % bundler install
Could not find gem 'jekyll (>= 3.8.6)' in any of the gem sources listed in your
Gemfile.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
ouyangrong@ouyangrongdeMac-mini ouyang_site % sudo gem install bundler
Password:
Fetching bundler-2.2.17.gem
Successfully installed bundler-2.2.17
Parsing documentation for bundler-2.2.17
Installing ri documentation for bundler-2.2.17
Done installing documentation for bundler after 2 seconds
1 gem installed
ouyangrong@ouyangrongdeMac-mini ouyang_site % bundle exec jekyll serve
Could not find gem 'jekyll (>= 3.8.6)' in rubygems repository https://rubygems.org/ or installed locally.
The source does not contain any versions of 'jekyll'
Run `bundle install` to install missing gems.
ouyangrong@ouyangrongdeMac-mini ouyang_site % bundle install
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Using bundler 2.2.17
Fetching concurrent-ruby 1.1.8
Fetching eventmachine 1.2.7
Fetching colorator 1.1.0
Fetching ffi 1.15.0
Fetching public_suffix 4.0.6
Fetching http_parser.rb 0.6.0
Installing colorator 1.1.0
Installing public_suffix 4.0.6
Installing http_parser.rb 0.6.0 with native extensions
Fetching forwardable-extended 2.6.0
Installing eventmachine 1.2.7 with native extensions
Installing concurrent-ruby 1.1.8
Fetching mercenary 0.4.0
Installing forwardable-extended 2.6.0
Fetching racc 1.5.2
Installing ffi 1.15.0 with native extensions
Installing mercenary 0.4.0
Installing racc 1.5.2 with native extensions
Fetching parallel 1.20.1
Installing parallel 1.20.1
Fetching rainbow 3.0.0
Installing rainbow 3.0.0
Fetching yell 2.2.2
Fetching rb-fsevent 0.11.0
Installing yell 2.2.2
Installing rb-fsevent 0.11.0
Fetching rexml 3.2.5
Fetching liquid 4.0.3
Fetching rouge 3.26.0
Fetching unicode-display_width 1.7.0
Fetching safe_yaml 1.0.5
Fetching jekyll-paginate 1.1.0
Installing safe_yaml 1.0.5
Installing unicode-display_width 1.7.0
Installing jekyll-paginate 1.1.0
Installing rexml 3.2.5
Fetching addressable 2.7.0
Installing liquid 4.0.3
Fetching pathutil 0.16.2
Fetching i18n 1.8.10
Installing rouge 3.26.0
Fetching nokogiri 1.11.5 (x86_64-darwin)
Installing pathutil 0.16.2
Installing addressable 2.7.0
Fetching ethon 0.14.0
Fetching sassc 2.4.0
Installing i18n 1.8.10
Fetching rb-inotify 0.10.1
Fetching em-websocket 0.5.2
Installing rb-inotify 0.10.1
Installing ethon 0.14.0
Fetching terminal-table 2.0.0
Installing em-websocket 0.5.2
Installing sassc 2.4.0 with native extensions
Fetching kramdown 2.3.1
Fetching listen 3.5.1
Fetching typhoeus 1.4.0
Installing kramdown 2.3.1
Installing terminal-table 2.0.0
Installing listen 3.5.1
Installing typhoeus 1.4.0
Installing nokogiri 1.11.5 (x86_64-darwin)
Fetching jekyll-watch 2.2.1
Fetching kramdown-parser-gfm 1.1.0
Fetching nokogumbo 2.0.5
Fetching jekyll-sass-converter 2.1.0
Installing jekyll-sass-converter 2.1.0
Installing kramdown-parser-gfm 1.1.0
Installing jekyll-watch 2.2.1
Fetching jekyll 4.2.0
Installing nokogumbo 2.0.5 with native extensions
Installing jekyll 4.2.0
Fetching jekyll-seo-tag 2.6.1
Fetching jekyll-redirect-from 0.16.0
Fetching html-proofer 3.19.1
Installing jekyll-seo-tag 2.6.1
Installing jekyll-redirect-from 0.16.0
Installing html-proofer 3.19.1
Bundle complete! 5 Gemfile dependencies, 40 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
ouyangrong@ouyangrongdeMac-mini ouyang_site % bundle exec jekyll serve
Configuration file: /Users/ouyangrong/ouyang_site/_config.yml
            Source: /Users/ouyangrong/ouyang_site
       Destination: /Users/ouyangrong/ouyang_site/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
        Pagination: Pagination is enabled, but I couldn't find an index.html page to use as the pagination template. Skipping pagination.
                    done in 14.811 seconds.
 Auto-regeneration: enabled for '/Users/ouyangrong/ouyang_site'
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.
1
2
bundle install
Could not locate Gemfile

博客主题

借鉴喵神的博客主题,求教喵神,很荣幸得到喵神的指导。

啊…这个主题我现在已经不用了..现在用的是从这边改的

Cotes’ Blog

线上教程

温馨提示:严格按照线上教程的步骤来,终于搭建成功了。一开始我直接fork下来用,点击链接发现博客主题页面显示不出来。

现在的 Blog 的话开源在这里了,可以试着继续改改之类的..

OneV’s Den

用喵神的主题发现点击目录和标签找不到相应的页面。

参考文章

jekyll博客搭建之艰辛之路

Mac下使用Jekyll和github搭建个人博客

Jekyll on macOS

如何快速搭建自己的github.io博客

Jekyll搭建个人博客

Git教程

GitHub Pages 搭建教程

GitHub Docs

第十章、認識與學習BASH

在github搭建技术博客

macOS 安装 Jekyll

为博客添加独立域名

喵神的博客主题(旧的)

Csy Blog

搭建一个免费的,无限流量的Blog—-github Pages和Jekyll入门

如何搭建jekyll主题的github.io博客

DNS 原理入门

谷歌分析

This post is licensed under CC BY 4.0 by the author.

图片转PDF

多线程 - 重复网络请求优化

Comments powered by Disqus.