用 Pelican 打造你的个人主页二

Posted on Mon 06 April 2015 in minute

1. publish blog to github site

steps:

cd output
    git init
    git add *
git remote add origin https://github.com/walterfan/walterfan.github.io.git
    git pull origin master
    git commit -am 'add blog'
    git push -u origin master

2. customize the style

steps:

mkdir theme
git submodule add https://github.com/DandyDev/pelican-bootstrap3.git
git submodule init
git submodule update
edit pelicanconf.py, add a line as below ::
THEME = '../theme/pelican-bootstrap3'