-
Notifications
You must be signed in to change notification settings - Fork 922
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
Blog posts order differs in side-nav vs list #1197
Comments
Reopening because this didn't fix the issue for me. (I'll post more details as soon as I can.) |
This is what happens now: the main list of posts is in ascending order. It used to be in descending order (so that the most recent post was first). Or, if all posts are in the same year: So #1200 will need to be reverted. |
I think that the order of the posts in the blog page listing is correct. It'll be tricky to fix in the navbar (that code is quite complicated already). Maybe it's a "bug" in the Hugo sort function? That would require some careful testing, and I don't have time for that atm. |
To reproduce, create a new project:
Then create two posts with the same date, such as:
Build and/or serve the site and visit
/blog
. This is what you'll see:Notice how the order of the posts differs.
The text was updated successfully, but these errors were encountered: