I’m seeing a weird issue when using specifying chronological ordering. For reference here is my routes.yaml
file:
routes:
/new/:
controller: channel
template: new
collections:
/:
permalink: /{slug}/
template: index
order: asc
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
In summary, the home page (/
) should show the posts in the order they were created, the /new/
endpoint should show the newest ones first.
On the home page - the ordering is wrong. The “what are loops?” article was published a day after “What is an if statement?” article but for some reason comes before.
On the new page - the order is correct. “what are loops?” was the last article to be published.