From 7dcaa2adcb225b46d2bced9137b0adda45e69703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bu=C4=9Fra=20Canata?= Date: Sat, 17 Jan 2026 22:11:55 +0300 Subject: [PATCH] Update KeyStatic config to match existing post format - Add explicit frontmatter: 'yaml' to match existing posts - Remove publishDate field that doesn't exist in current posts - Keep body as markdoc (supports markdown content) Co-Authored-By: Claude --- keystatic.config.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/keystatic.config.ts b/keystatic.config.ts index 72f0385..229f7e5 100644 --- a/keystatic.config.ts +++ b/keystatic.config.ts @@ -11,7 +11,10 @@ export default config({ label: 'Blog Yazıları', slugField: 'title', path: 'src/data/post/*', - format: { contentField: 'body' }, + format: { + contentField: 'body', + frontmatter: 'yaml', + }, schema: { title: fields.slug({ name: { @@ -52,10 +55,6 @@ export default config({ label: 'Öne Çıkan Görsel', description: 'Blog yazısı için kapak görseli', }), - publishDate: fields.datetime({ - label: 'Yayınlanma Tarihi', - description: 'Content collection için yayın tarihi', - }), excerpt: fields.text({ label: 'Özet', description: 'Blog yazısının kısa özeti',