雁起平沙的网络日志

数量金融与R

使用现有的jekyll模板

| Comments

jekyll可以生成静态页面,可以用来写博客。假设你建立的repo地址是 https://github.com/username/reponame :

下面的命令用于克隆和初始化别人的模板

1
2
3
4
5
6
7
8
git clone https://github.com/krisb/jekyll-template.git mysite
cd mysite
rm -rf .git
git init
git add -A
git commit -m 'initial template based on https://github.com/krisb/jekyll-template'
git remote add origin git@github.com:username/reponame.git
git push -u origin master

原文地址 https://github.com/krisb/jekyll-template

延伸阅读:

Comments