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
Right now, I sanitize the entire object before saving it. If you have an empty string it gets removed from the object altogether.
Can you help me understand why you need to save empty/falsy attributes in your frontmatter? Do you leverage that in any particular way in your website?
I don't think I'm going to change this approach for now. A lot of my code currently expects the objects to be sanitized when they're loaded in the editor. Closing for now but I will consider it if I see the request popping up again.
Amazing work with this CMS! It's very fast and slick.
One issue I ran into is, my site expects blank values in the yam file:
In the page settings I put a blank string for the defaults:
However, this is saving like this with no fields or defaults:
Is this expected? Is it possible to have the fields populate?
The text was updated successfully, but these errors were encountered: