+1.
A workaround is to use menus because their weights can be specified in config.toml
. But it requires redundant information, parent-child relationships, to be specified in each front matter of articles. For example, content/section2/article2a.md
needs
[menu.main]
parent = "section2"
So, it would be helpful if there were AllPagesMenu
option that adds all the pages to the menu.main
reflecting the directory structure. Enabling children = "section2/*.md"
in config.toml
might be fine too.
Of course introducing section weights is more reasonable.