testing-all-fields
A comprehensive blog post created to test all the newly added Keystatic fields in our schema.
technology #astro #keystatic ⭐ 4.8/5
🔗 External Link Sort Order: 1
Testing All Keystatic Fields
This is a sample blog post that utilizes all of the new fields we added to the Keystatic schema. By checking the YAML frontmatter of this file, you can see how each field type is serialized into Markdown format.
What’s included in the frontmatter?
- Checkbox:
isDraftis set tofalse. - Integer:
sortOrderis set to1. - Number:
ratingis set to4.8. - URL:
externalLinkpoints to the Keystatic website. - Select:
categoryis chosen astechnology. - Multiselect:
tagsincludesastroandkeystatic. - Datetime:
publishedAtcontains an ISO timestamp.
(Note: We didn’t include relatedDocument here since we haven’t uploaded a test document to src/assets/files yet, but it behaves similarly to the thumbnail image field!)