我已多次重读这些说明,并在这些论坛上搜索答案;如果我遗漏了一些非常明显的东西,我会道歉。
我无法在我的GitHub页面网站上使用CSS或HTML模板。我收到模板的以下错误:
The page build failed for the `master` branch with the following error:
A file was included in `/_layouts/home.html` that is a symlink or does not exist in your `_includes` directory. For more information, see https://help.github.com/en/articles/page-build-failed-file-is-a-symlink.
我试过的CSS,只是将背景变黑,也似乎不起作用。
测试地点位于:https://prismspecs.github.io/
休息日:管家
问题是因为你的https://github.com/prismspecs/prismspecs.github.io/和主题之间不匹配。布局要求存储库中或_layouts/home.html
中不存在的三个包含。
解决方案是删除自定义布局或将三个包含添加到您的仓库。