WenChao
WenChao

Reputation: 3665

Suggested jekyll theme doesn't work on Github pages

I have push the new site to username.github.io, and changed theme to jekyll-theme-minimal as suggested here

But I'm keep getting 'Page build failed' email from Github without any description to the cause, I'm really new to using jekyll, maybe I have missed something, This is the link to the site, https://github.com/cooperkong/cooperkong.github.io thanks!

Upvotes: 2

Views: 1915

Answers (1)

marcanuy
marcanuy

Reputation: 23972

It turns out that the minimalistic theme is really minimalistic ;)

It only has a default layout and no includes, as they were being called in the other post files. After removing references to them and updating the Gemfile it works: https://github.com/cooperkong/cooperkong.github.io/pull/1

Removing from front matter layout:page and layout:post so it uses the default layout. And removing include liquid tags from pages {% include ... %}

Upvotes: 4

Related Questions