How does one downgrade jekyll to work with github pages?

后端 未结 2 1943
星月不相逢
星月不相逢 2021-01-02 10:42

I think my main issue is that jekyll 4 is not support by github pages. That is fine with me, but how do I downgrade jekyll to work regardless?

I tried following the

2条回答
  •  离开以前
    2021-01-02 11:28

    The current version of github pages requires you set use Jekyll 3.8.5 and github-pages 202. When I set this up, I also had to set a specific version for jekyll feed. Here's the relevant lines you need in your Gemfile:

    gem "jekyll", "~> 3.8.5"
    gem "github-pages","~> 202" , group: :jekyll_plugins
    # If you have any plugins, put them here!
    group :jekyll_plugins do
      gem "jekyll-feed", "~> 0.11.0"
    end
    

    After that, try removing your Gemfile.lock and running bundle install.

    I have a repo here with a minimal version set up.

提交回复
热议问题