https://github.com/1c7/1c7.github.io
旧版 Jekyll 博客的代码,已放弃使用,目前2019年用 Ghost 做博客
https://github.com/1c7/1c7.github.io
Last synced: 30 days ago
JSON representation
旧版 Jekyll 博客的代码,已放弃使用,目前2019年用 Ghost 做博客
- Host: GitHub
- URL: https://github.com/1c7/1c7.github.io
- Owner: 1c7
- Created: 2016-07-17T11:03:35.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-20T06:54:21.000Z (about 7 years ago)
- Last Synced: 2025-02-01T18:45:37.956Z (3 months ago)
- Language: HTML
- Homepage: https://1c7.me/
- Size: 10.4 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## 这个库是 1c7.me 这个博客的代码.
Jekyll 有写博客和生成静态网站的用途,之前我都是一个库然后用2个分支来管理(code 和 master)
master 就是生成出来的结果,就是 1c7.me 访问的那些东西
code 就是 Jekyll 的博客了。
嫌烦,老是 code master 来回切换。干脆就把 code 分支放到这里来。jekyll build 之后的代码扔到另一个库就好了。### 预览
```
jekyll serve
```
* localhost:4000 访问
* 写 _posts
* 确认没问题就 jekyll build
* 生成出来的 _site 复制到另一个库。
* 在另一个库 git push 完事,博客就好了。