Sorting catalogs by year with autocatalog #3859
Answered
by
Mister-Hope
smirnoffmv
asked this question in
Q&A
-
How do I sort catalogs by year so that 2024 is at the top and 2023 is at the bottom? Sorting using order does not work (it is only for articles) Now: I want: |
Beta Was this translation helpful? Give feedback.
Answered by
Mister-Hope
Jan 26, 2024
Replies: 2 comments 3 replies
-
Besids, you are always free to do full customizations: https://plugin-auto-catalog.vuejs.press/config.html#defineautocataloggetter |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Mister-Hope
-
I'm new to YAML, but for future users of the topic, to sort directories, you need to write ---
dir:
order: 1 # the number is in order
--- |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dir.order
should work for directories I think. Double check that.Besids, you are always free to do full customizations: https://plugin-auto-catalog.vuejs.press/config.html#defineautocataloggetter