文明始于禁忌

Home Tags

用jekyll写博客

2013-01-17

Tags: 工具

创建站点

gem install jekyll
~ $ jekyll new blog
~ $ cd blog
~/blog $ jekyll serve -w

jekyll serve -w 在本地持续查看最新保存以后的文章内容

jekyll help server 查看server命令选项,有很多

写博客

写页面

本地运行

jekyll server -w

源码

https://github.com/hsiss/hsiss.github.io

参考资料

  1. https://github.com/mojombo/jekyll
  2. http://jekyllrb.com