-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Enhancement: Enable custom sorting on integer fields #402
Comments
Support has been added. Type should be |
That's great news. The JSON schema has not yet been updated, that happens when an update to the docs happens. This is why you still see the warning. |
Okay, gotcha! That makes sense to me. Thank you so much for this improvement! |
A new schema version was released on the beta docs, which should fix the schema issue. |
To what URL is the schema set in your |
Yup! That fixed it for me! 😊 I'll leave it on beta since I'm almost certainly going to stay out on the edge like this 😅 |
Is your feature request related to a problem? Please describe.
I'm trying to define a custom sorting option for my content, which logically follows weights by folder and subfolder. Unfortunately, the only valid options for
type
infrontMatter.content.sorting
seem to bedate
andstring
. This definition is invalid:Describe the solution you'd like
I would like for this definition to be valid and order my content by weight from lowest integer value to highest:
Describe alternatives you've considered
I can't think of any, since Front Matter isn't aware of how my static site generator will eventually order my content.
Additional context
N/A
The text was updated successfully, but these errors were encountered: