安装jekyll¶ ↑
设置favicon.ico¶ ↑
准备一张至少70x70像素的图片,推荐是260x260像素的图片作为favicon的源文件,访问realfavicongenerator.net/,然后把图片上传上去,会帮你生成各种设备的favicon.icon,然后按照提示下载,放在你博客的根目录下,在网站的head标签里已经添加了这些favicon的配置。
使用gem中国区镜像¶ ↑
bundle config mirror.https://rubygems.org https://gems.ruby-china.com
如有必要,使用代理,代理自己提供¶ ↑
export http_proxy=http://127.0.0.1:49295 export https_proxy=http://127.0.0.1:49295
安装依赖¶ ↑
[sudo] bundle install
启动¶ ↑
bundle exec jekyll serve
构建发布¶ ↑
# 修改版本 # spring-jekyll-theme.gemspec spec.version = "0.0.x" # 废弃 gem yank spring-jekyll-theme -v 0.0.[x] # 构建 gem build spring-jekyll-theme.gemspec # 发布 gem push spring-jekyll-theme-0.0.[x].gem # 发布到github gem push --key github --host https://rubygems.pkg.github.com/cbtpro spring-jekyll-theme-0.0.[x].gem