建议的 jekyll 主题不适用于 Github 个页面

Suggested jekyll theme doesn't work on Github pages

我已将新站点推送到 username.github.io,并按照建议将 theme 更改为 jekyll-theme-minimal here

但我不断收到 Github 发来的 'Page build failed' 电子邮件,但没有对原因进行任何描述,我对使用 jekyll 真的很陌生,也许我错过了什么, 这是 link 的网站,https://github.com/cooperkong/cooperkong.github.io 谢谢!

原来简约主题真的很简约;)

它只有默认布局,没有包含,因为它们在其他 post 文件中被调用。在删除对它们的引用并更新 Gemfile 后,它可以工作:https://github.com/cooperkong/cooperkong.github.io/pull/1

从前面内容中删除 layout:pagelayout:post,因此它使用默认布局。并从页面 {% include ... %}

中删除 include liquid 标签