Add conditional omission of fields based on their values #282
squidfingers
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like a way to prevent a param from be written to the frontmatter, if it has a default value or it's false, just to keep my frontmatter as clean as possible. Maybe something like
omit_if_defaultoromit_if_falseoptions.For example, only render
draft:trueif the value is true, otherwise, don't render the param.Beta Was this translation helpful? Give feedback.
All reactions