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

Sorting #28

Open
adelerhof opened this issue Jun 15, 2020 · 0 comments
Open

Sorting #28

adelerhof opened this issue Jun 15, 2020 · 0 comments

Comments

@adelerhof
Copy link

In the issue below order or sorting is discussed, I would also like to order alphabetically.
Is there a possibility to sort on Title?
https://gohugo.io/templates/lists/#by-title

Hi, @jcrubino.

The order of the side menu is determined by the weight of Front Matter.
Lower weight gets higher precedence. So menu with lower weight will come first.

https://gohugo.io/content-management/front-matter/

The sample of Front Matter with weight is as below.

https://raw.githubusercontent.com/thingsym/hugo-theme-techdoc/master/exampleSite/content/chapter2/2.md

Originally posted by @thingsym in #13 (comment)

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

1 participant