第一次在github page发布
It is my first try with github.io
Build
Build a blog in github.io
- Creat a repository named with user_name.github.io
- Clone the repository.
- Build your blog.
- Push to github.
ex: Add a index.html file which contain any string in root folder. After pushed open the site.
Theme Jekyll
Use Theme Jekyll for your blog
-
github.io默认采用Jekyll作为建站工具。Jekyll是一款当前火热的开源的静态网站建站工具
-
Jekyll是静态网站。没有任何的后台数据库。
-
静态网站需求前端能力。
About gh-pages
create a branch named gh-pages
for Github pages.
- 为github pages创建一个名为gh-pages的分支。
- git branch gh-pages 创建分支
- git checkout gh-pages 切换分支
Jekyll Themes
- jekyll的模板网站,可以找到各式各样你喜欢的模板
本地编译
- 本地编译完再上传的。