You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue I'm encountering is that the table of contents and sidebar aren't appearing on content which is placed outside of the /content/docs/ subfolder.
The about page content mentioned below when placed under /content/docs/ behaves as expected.
Here's an example of what a misrendered webpage looks like:
Specifically using the word about as an alternative 'docs' section breaks navbar and table of contents functionality.
Steps to reproduce:
Create a new doks installation, with npm create thulite@latest -- --template doks, npm install, and host it locally with npm run dev.
Create a new docs type section using npm run create -- --kind docs about.
Edit params.toml to sectionNav = ["docs", "about"].
Navigate to http://localhost:1313/about/lorem/ipsum.
This is not a major issue, regarding building a Doks website, I decided to go with different wording for the website I'm building instead. It's also possible this issue is something to do with Hugo that I have not been made aware of.
Either way, I'm posting this here to let anyone else know who encounters this issue to avoid using about as a sectionNav.
The text was updated successfully, but these errors were encountered:
Discussed in #1305
Originally posted by ochrebasis November 5, 2024
Issue:
The issue I'm encountering is that the table of contents and sidebar aren't appearing on content which is placed outside of the
/content/docs/
subfolder.The about page content mentioned below when placed under
/content/docs/
behaves as expected.Here's an example of what a misrendered webpage looks like:
For example:
Has sidebar and toc:
Does not have sidebar and toc:
Issue:
Specifically using the word
about
as an alternative 'docs' section breaks navbar and table of contents functionality.Steps to reproduce:
npm create thulite@latest -- --template doks
,npm install
, and host it locally withnpm run dev
.npm run create -- --kind docs about
.params.toml
tosectionNav = ["docs", "about"]
.http://localhost:1313/about/lorem/ipsum
.This is not a major issue, regarding building a Doks website, I decided to go with different wording for the website I'm building instead. It's also possible this issue is something to do with Hugo that I have not been made aware of.
Either way, I'm posting this here to let anyone else know who encounters this issue to avoid using
about
as a sectionNav.The text was updated successfully, but these errors were encountered: