Open turing4ever opened 6 years ago
This proposal is very good,Does it work?
Yes, tried on both my Mac and github. Works fine.
@turing4ever thx for the issue and post, I didn't know much about remote_theme
before. I'll add it in the docs latter.
According to this page: https://blog.51cto.com/u_15366127/5623718 Following part need to be add to get github action build work:
# theme: jekyll-text-theme # Gem-based Jekyll Themes
remote_theme: kitian616/jekyll-TeXt-theme # Jekyll Remote Theme, see https://github.com/benbalter/jekyll-remote-theme for more information.
plugins:
- jekyll-feed
- jekyll-paginate
- jekyll-sitemap
- jemoji
- jekyll-remote-theme # add this line
add one line in the end
source "https://rubygems.org"
# gem "jekyll-text-theme", path: "../"
gem "jekyll-text-theme"
gem "tzinfo-data"
gem "wdm", "~> 0.1.0" if Gem.win_platform?
gem "jekyll-remote-theme"
©著作权归作者所有:来自51CTO博客作者zorch的原创作品,请联系作者获取转载授权,否则将追究法律责任 定制jekyll主题以及github pages部署完全总结 https://blog.51cto.com/u_15366127/5623718
Hi Tian Qi, For hosting the site on github, its actually better to use
remote_theme: kitian616/jekyll-text-theme
in_config.yml
. I wrote some notes here using jekyll and your theme. Btw, thanks for open source your theme. Really like it.