采用Jekyll + github + pygments构建个人

2016-04-27  本文已影响0人  包红前当了回撤并让开我来

Create new repository

You'll need to create a repository named <strong>username.github.io</strong>.
The <strong>username</strong> must be your github name.
So as my repository sbzhu.github.io

Create new repository

Clone your new repository to local disk

git clone git@github.com:/sbzhu/sbzhu.github.io

Then a director named .git is about here.


Get other's jekyll template

You can get jekyll template from website like jekyll themes or just simply clone one from others github like this:

Then you'll get a director named huxpro.github.io.git


Add template jekyll project to your repository

cp -r huxpro.github.io.git/!(.git) sbzhu.github.io/

Push this repository to github

git add -A
git commit -m 'initial version'
git push origin master

Enjoy you Github pages

Visit the website www.sbzhu.github.io



上一篇 下一篇

猜你喜欢

热点阅读