You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not quiet sure if my understanding of how the sorting is working is wrong or if Nuxt Content is doing something wrong.
So for example I have multiple markdown documents with the properties createdAt and updatedAt. These properties are added using a front matter block at the beginning of each document and the updatedAt property is optional.
Example:
I would like to sort by the newest updated documents.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone,
I am not quiet sure if my understanding of how the sorting is working is wrong or if Nuxt Content is doing something wrong.
So for example I have multiple markdown documents with the properties
createdAt
andupdatedAt
. These properties are added using a front matter block at the beginning of each document and theupdatedAt
property is optional.Example:
I would like to sort by the newest updated documents.
It seems like undefined properties are newer then defined ones. Has any one an idea how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions