【发布时间】:2019-11-30 00:51:28
【问题描述】:
我正在使用 git page 制作一个 github 网站。我正在使用academicpages/academicpages.github.io。我将此 repo 复制到我的 gitpage repo,并编辑了 /_pages 文件夹中的页面。但是当我使用 jekyll 构建网站时,我得到以下信息:
Jekyll Feed: Generating feed for posts
Build Warning: Layout 'single' requested in pages/about.md does not exist.
Build Warning: Layout 'archive' requested in pages/dissertation.md does not exist.
Build Warning: Layout 'archive' requested in pages/research.md does not exist.
Build Warning: Layout 'archive' requested in pages/software does not exist.
Build Warning: Layout 'archive' requested in pages/teaching.md does not exist.
我没有关注这个,因为在我创建的 git 存储库中,我在 _layouts 文件夹中有布局。 archive.html 和 single.html 都在里面。
那么可能是什么导致了问题呢?
一个问题是,我是否应该将所有这些文件放在我硬盘上的 git 网站文件夹中?由于我 fork 主题 repo,文件都在我的 git repo 上,我的硬盘上没有布局文件。
【问题讨论】:
-
你能链接你的github repo吗?如果我能看到您对
/_pages文件夹所做的更改,将更容易帮助您调试问题。 -
请更新 repo 链接。我猜你的意思是academicpages/academicpages.github.io。