-
Notifications
You must be signed in to change notification settings - Fork 2
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
Sort blog post newest-oldest #21
Comments
Done, waiting for review |
Switched to incremental weights. Waiting for review. |
Isnt it correct? I added lowest weight to the earliest one, i.e. the March breakdown was the first one. |
Wouldn't we want the most recent article at the top of the list? |
Can't find anything about reverse sorted sections https://themes.gohugo.io/themes/hugo-book/ |
Well one way is to start from 1000 and count down 😺 |
But that is a problem waiting to happen, if we end up writing a lot |
Default: Weight > Date > LinkTitle > FilePath |
We can just add /NewerNews/2048-whatever then ;)) |
newnews |
Status of this issue? Seems like we can close it? |
The news/blog posts are not ordered right, so if we set the weight to the iso timestamp it should fix that.
Example:
weight: 20240501
The text was updated successfully, but these errors were encountered: