我无法让 Jekyll 在 GitHub Pages 上正常工作。当我尝试部署我的存储库时,我在页面上看到的只是 --- layout: home --- 在白色背景上,它似乎忽略了存储库中的所有其他文件。我已经检查了我的代码和配置设置,但我不确定是什么导致了这个问题。
这是我的存储库的链接:https://github.com/ny000815/yoshiakiblog-jekyll/actions
我克隆的存储库是:https://github.com/StartBootstrap/startbootstrap-clean-blog-jekyll
如有任何关于如何解决此问题的建议,我们将不胜感激。
对您的
config.yml
文件进行以下更改:
baseurl: "/yoshiakiblog-jekyll"
url: "https://ny000815.github.io"
baseurl
遵循格式/REPOSITORY_NAME
.
对您的
package.json
文件进行以下更改:
"homepage": "https://ny000815.github.io/yoshiakiblog-jekyll",