Simplify KeyStatic config - remove all extras
Remove descriptions, defaults, and extra options that might cause compatibility issues with KeyStatic 5.x. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+6
-25
@@ -19,58 +19,39 @@ export default config({
|
||||
label: 'Blog Yazıları',
|
||||
slugField: 'title',
|
||||
path: 'src/data/post/*',
|
||||
format: {
|
||||
contentField: 'body',
|
||||
frontmatter: 'yaml',
|
||||
},
|
||||
columns: ['title', 'date', 'author'],
|
||||
schema: {
|
||||
title: fields.text({
|
||||
label: 'Başlık',
|
||||
description: 'Blog yazısının başlığı (URL\'de kullanılır)',
|
||||
}),
|
||||
date: fields.datetime({
|
||||
label: 'Yayın Tarihi',
|
||||
description: 'Yazının yayınlanma tarihi ve saati',
|
||||
}),
|
||||
author: fields.text({
|
||||
label: 'Yazar',
|
||||
description: 'Çağrı işareti (örn: TA1SPH) veya yazar adı',
|
||||
default: 'TA1SPH',
|
||||
}),
|
||||
categories: fields.array(
|
||||
fields.text({
|
||||
label: 'Kategori',
|
||||
description: 'Kategori adı',
|
||||
})
|
||||
, {
|
||||
categories: fields.array(fields.text({ label: 'Kategori' }), {
|
||||
label: 'Kategoriler',
|
||||
description: 'Blog yazısını kategorize etmek için (örn: "Teknik", "Haberler")',
|
||||
itemLabel: 'Kategori',
|
||||
}),
|
||||
tags: fields.array(
|
||||
fields.text({
|
||||
label: 'Etiket',
|
||||
description: 'Etiket anahtar kelimesi',
|
||||
})
|
||||
, {
|
||||
tags: fields.array(fields.text({ label: 'Etiket' }), {
|
||||
label: 'Etiketler',
|
||||
description: 'Arama ve filtreleme için etiketler (örn: "dmr", "antren")',
|
||||
itemLabel: 'Etiket',
|
||||
}),
|
||||
layout: fields.text({
|
||||
label: 'Sayfa Düzeni',
|
||||
description: 'Kullanılacak sayfa layout\'u',
|
||||
default: 'post',
|
||||
}),
|
||||
image: fields.image({
|
||||
label: 'Öne Çıkan Görsel',
|
||||
description: 'Blog yazısının kapak görseli (varsayılan: /images/logbook.png)',
|
||||
}),
|
||||
excerpt: fields.text({
|
||||
label: 'Kısa Özet',
|
||||
description: 'Blog listesinde gösterilecek özet (isteğe bağlı)',
|
||||
multiline: true,
|
||||
}),
|
||||
body: fields.markdoc({
|
||||
label: 'İçerik',
|
||||
description: 'Blog yazısının ana içeriği (Markdown formatında yazın)',
|
||||
}),
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user