从minima/_includes目录中的任何html文件添加到网站目录中会导致github构建失败 [英] Adding of any html file from the minima/_includes directory into the website directory cause the github build to fail

查看:91
本文介绍了从minima/_includes目录中的任何html文件添加到网站目录中会导致github构建失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想覆盖/更改head.html中的某些内容,因此我将其复制到

I wanted to override/change certain things in head.html so I copied to over https://github.com/jekyll/minima/blob/master/_includes/head.html to my website directory and built it (jekyll clean + build) - this worked fine in my local but on pushing the same to github the build fails with no particular error.

这里是我在github中失败的提交

Here is my commit that fails in github

我在这里报道的.

我得到的一般错误-

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

The page build failed for the master branch with the following error:

页面构建失败.有关更多信息,请参见 https://help.github.com/articles/故障排除-github-pages-builds/.

Page build failed. For more information, see https://help.github.com/articles/troubleshooting-github-pages-builds/.

有关对Jekyll进行故障排除的信息,请参见:

For information on troubleshooting Jekyll see:

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

推荐答案

在您的 _config.yml 文件中,添加 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆