安装命令

安装

sudo pacman -S ruby
gem install jekyll
gem install bundler
gem install jekyll-sitemap
gem install pygments.rb

配置

~/.bashrc PATH 加入 $(ruby -e 'print Gem.user_dir')/bin

运行

jekyll --version
jekyll serve --host=0.0.0.0

管理

  • 安装主题
rake theme:install git="https://github.com/jekyllbootstrap/theme-twitter.git"
  • 切换主题
rake theme:switch name="bootstrap-3"

参考链接



blog comments powered by Disqus

Published

02 January 2017

Tags