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
I use the docs layout for a library of presentations that I have created. I want the sections to appear in the left nav in a specific order. I use weight: and navWeight: to manage the order. The result as built doesn't follow any understandable order. It's not alphabetical and it's not in weight order.
Prerequisites
Describe the issue
I use the
docs
layout for a library of presentations that I have created. I want the sections to appear in the left nav in a specific order. I useweight:
andnavWeight:
to manage the order. The result as built doesn't follow any understandable order. It's not alphabetical and it's not in weight order.Steps to reproduce
My site: https://sdwheeler.github.io/seanonit/docs/ - Note the order of the left nav
Source: https://github.com/sdwheeler/seanonit/tree/main/content/docs - Note the weights for these items
Here is a list of the weights:
Expected behavior
I expect the weight metadata to control the order of appearance in the left nav
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Microsoft Edge
What version of theme are you using?
require github.com/razonyang/hugo-theme-bootstrap v1.9.3
What version of Hugo are you using?
go 1.23
What version of Node.js are you using?
v23.3.0
What version of Git are you using?
git version 2.48.1.windows.1
Additional context
No response
The text was updated successfully, but these errors were encountered: