This post is coming from Sanity CMS. Connect your Sanity project in .env.local and this content will be replaced with your actual blog posts.
Getting started with Sanity
- Create a free Sanity project at sanity.io
- Add your
NEXT_PUBLIC_SANITY_PROJECT_IDto.env.local - Create a
postdocument type in your Sanity schema - Publish your first post and it will appear here automatically
Schema fields needed
titleโ stringslugโ slug (from title)excerptโ textpublishedAtโ datetimecategoryโ stringmainImageโ imagebodyโ block content (Portable Text)estimatedReadingTimeโ number