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-fields

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: isDraft is set to false.
  • Integer: sortOrder is set to 1.
  • Number: rating is set to 4.8.
  • URL: externalLink points to the Keystatic website.
  • Select: category is chosen as technology.
  • Multiselect: tags includes astro and keystatic.
  • Datetime: publishedAt contains 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!)

Hi there! 👋

Ask me anything about this website.