.Prev/.Next ordering in Hugo
Closed this issue · 2 comments
NHOrus commented
By design, .Prev point to post with earlier date. .Next points to later date. If not set in the post body manually.
So, latest post will ends up as oldest in your theme, when using pagination and not fixing the problem manually.
NHOrus commented
From a discussion in Slack:
Also note the .PrevInSection, which has the same odd behaviour, but is in most cases what you want.
keichi commented
Thanks for pointing this out. It's fixed now.