[英]Github pages w/ Jekyll 404 on specific page
I am currently having an issue with Github Pages我目前遇到 Github 页面的问题
I guess it doesn't hurt to use the actual live example我想使用实际的现场示例并没有什么坏处
The corresponding repo is https://github.com/ScottA38/ScottA38.github.io对应的仓库是https://github.com/ScottA38/ScottA38.github.io
I made some styling changes (maybe some JS changes I don't remember) ages ago when I was actively working on the content, and somehow ever since the 'projects' page has been 404 when I try and click through to it from the menu.很久以前,当我积极处理内容时,我进行了一些样式更改(可能是一些我不记得的 JS 更改),不知何故,自从我尝试从菜单中单击进入时,“项目”页面一直是 404 .
I am using Jekyll theme Jam which is some obscure obsolete theme, but I don't see it being a problem really我正在使用Jekyll 主题 Jam ,这是一些晦涩的过时主题,但我认为这不是问题
The strangest part is that if I load the site locally with bundle exec jekyll serve
then this page appears perfectly at localhost:4000/projects
, just not on the live site最奇怪的部分是,如果我使用
bundle exec jekyll serve
在本地加载站点,则此页面完美显示在localhost:4000/projects
,而不是在实时站点上
If I put https://scotta38.github.io/projects.html
(live site) it also appears perfectly, just not at https://scotta38.github.io/projects
like I want If I put
https://scotta38.github.io/projects.html
(live site) it also appears perfectly, just not at https://scotta38.github.io/projects
like I want
I have seen some suggestions about GH servers caching an old version or something like this but I don't really understand and I need some guidance我已经看到一些关于 GH 服务器缓存旧版本或类似内容的建议,但我不太明白,我需要一些指导
"About" page works and you have a permalink there , but nothing for projects . “关于”页面有效, 您在那里有一个永久链接,但没有项目。
Probably adding可能会添加
permalink: /projects/
will fix the issue.将解决问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.