Adding of any html file from the minima/_includes directory into the website directory cause the github build to fail

廉价感情. 提交于 2019-12-08 05:26:55

问题


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.

Here is my commit that fails in github

This where i reported it.

Generic error that i get -

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

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

For information on troubleshooting Jekyll see:

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


回答1:


In your _config.yml file, add jekyll-seo-tag plugin like this :

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


来源:https://stackoverflow.com/questions/49164989/adding-of-any-html-file-from-the-minima-includes-directory-into-the-website-dir

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!