Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Next" link on the main page results in 404 #108

Open
qrilka opened this issue Jun 7, 2023 · 5 comments
Open

"Next" link on the main page results in 404 #108

qrilka opened this issue Jun 7, 2023 · 5 comments

Comments

@qrilka
Copy link

qrilka commented Jun 7, 2023

The main page of https://trunkbaseddevelopment.com/ has "Tags" link (with "next" above it) pointing to https://trunkbaseddevelopment.com/tags/ which results in 404

@benhammondmusic
Copy link

image

image

@benhammondmusic
Copy link

Still broken 8 months later. If only we could push a fix directly to the trunk!

@adriancuadrado
Copy link

Kinda funny how this website describes a methodology to bring changes faster and yet here we are, 8 months later, with this still not being fixed. I'll make a fix, it can't be that hard, it shouldn't take more than a couple minutes.

@adriancuadrado
Copy link

$ hugo server
Watching for changes in /workspaces/tbd/{content,static,themes}
Watching for config changes in /workspaces/tbd/config.toml
Start building sites … 
hugo v0.122.0-b9a03bd59d5f71a529acb3e33f995e0ef332b3aa linux/amd64 BuildDate=2024-01-26T15:54:24Z VendorInfo=gohugoio

WARN  found no layout file for "html" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
ERROR render of "page" failed: "/workspaces/tbd/themes/hugo-material-docs/layouts/_default/single.html:1:3": execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "head" .>: error calling partial: "/workspaces/tbd/themes/hugo-material-docs/layouts/partials/head.html:13:12": execute of template failed: template: partials/head.html:13:12: executing "partials/head.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState
Built in 37 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/workspaces/tbd/themes/hugo-material-docs/layouts/_default/single.html:1:3": execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "head" .>: error calling partial: "/workspaces/tbd/themes/hugo-material-docs/layouts/partials/head.html:13:12": execute of template failed: template: partials/head.html:13:12: executing "partials/head.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState

I'm not a hugo expert and I don't know how to fix this problem to be able to start developing and I don't want to waste too much time on this so I think I'd rather let the developers fix it instead. Also, I couldn't find any reference to "Tags" anywhere that could be the one displayed in the website, so probably the deployed version is older than what is available in the source code and maybe this bug might have been fixed some time ago and only needs redeployment.

$ find -type f -exec grep -l 'Tags' {} \;
$ find -type f -exec grep -l 'tags' {} \;
./.git/hooks/update.sample
./.git/logs/refs/remotes/origin/publications
./.git/logs/refs/remotes/origin/cn
./.git/logs/refs/remotes/origin/translation-spike
./.git/logs/refs/remotes/origin/pt
./themes/hugo-material-docs/theme.toml
./README.md
./content/game-changers/index.md
./content/vcs-choices/index.md
./content/youre-doing-it-wrong/index.md
$ find | grep Tags
$ find | grep tags
./.git/refs/tags

None of the files that contain the string 'tags' seem to be the problem, and there doesn't seem to be any file or folder with the name of "tags" other than ./.git/refs/tags.

@adriancuadrado
Copy link

I just noticed now that the next and previous links in the footer are switched in every page. The next points to the previous and vice-versa.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants