kitian616 / jekyll-TeXt-theme

💎 🐳 A super customizable Jekyll theme for personal site, team site, blog, project, documentation, etc.
https://kitian616.github.io/jekyll-TeXt-theme/
MIT License
3.16k stars 2.56k forks source link

remote_theme for hosting on github. #78

Open turing4ever opened 6 years ago

turing4ever commented 6 years ago

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.

handbye commented 6 years ago

This proposal is very good,Does it work?

turing4ever commented 6 years ago

Yes, tried on both my Mac and github. Works fine.

kitian616 commented 6 years ago

@turing4ever thx for the issue and post, I didn't know much about remote_theme before. I'll add it in the docs latter.

Lancelotmay commented 1 year ago

According to this page: https://blog.51cto.com/u_15366127/5623718 Following part need to be add to get github action build work: ​

_config.yml​​ (only list changes)

# 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

Gemfile:

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