Closed jackcrane closed 2 weeks ago
You can manually configure reorder of a post in the frontmatter using "weight" parameter, unfortunately i dont think there's another way apart from manually assign weight for each post.
This is not a theme feature, so see Hugo docs on frontmatter
weight used for ordering your content in lists. Lower weight gets higher precedence. So content with lower weight will come first. If set, weights should be non-zero, as 0 is interpreted as an unset weight.
I have my pages organized by chapter numbers, some exemplified below
They should be in that order, but instead 10.1.0 gets sorted before anything else. Is there some way to EITHER organize by numbers OR provide a "rank" in frontmatter that it gets sorted by?