【问题标题】:Adding of any html file from the minima/_includes directory into the website directory cause the github build to fail将任何 html 文件从 minima/_includes 目录添加到网站目录会导致 github 构建失败
【发布时间】:2018-08-16 07:50:52
【问题描述】:

我想覆盖/更改 head.html 中的某些内容,因此我将 https://github.com/jekyll/minima/blob/master/_includes/head.html 复制到我的网站目录并构建它(jekyll clean + build) - 这在我的本地运行良好,但在将其推送到 github 时构建失败,没有特别的错误。

Here 是我在 github 中失败的提交

This 我在哪里报告的。

我得到的一般错误 -

主分支的页面构建失败,出现以下错误:

页面构建失败。如需更多信息,请参阅https://help.github.com/articles/troubleshooting-github-pages-builds/

有关 Jekyll 故障排除的信息,请参阅:

https://help.github.com/articles/troubleshooting-jekyll-builds

【问题讨论】:

    标签: github jekyll github-pages minima


    【解决方案1】:

    在您的 _config.yml 文件中,像这样添加 jekyll-seo-tag 插件:

    plugins:
      - jekyll-feed
      - jekyll-seo-tag
    

    【讨论】:

      猜你喜欢
      • 2021-12-04
      • 1970-01-01
      • 1970-01-01
      • 2013-07-03
      • 1970-01-01
      • 1970-01-01
      • 2015-12-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多