Low commit activity in last 3 years
No release in over a year
spring theme for Jekyll.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

安装jekyll

https://jekyllrb.com/docs/

设置favicon.ico

准备一张至少70x70像素的图片,推荐是260x260像素的图片作为favicon的源文件,访问https://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

参考 https://gems.ruby-china.com/

安装依赖

[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