diff --git a/public/admin/config.yml b/public/admin/config.yml index 867be05..d1e1420 100644 --- a/public/admin/config.yml +++ b/public/admin/config.yml @@ -12,12 +12,14 @@ collections: folder: "src/content/blog" # The path to the folder where the documents are stored create: true # Allow users to create new documents in this collection slug: "{{year}}-{{month}}-{{day}}-{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md + format: frontmatter fields: # The fields for each document, usually in front matter - { label: "Yayına hazır mı?", name: "draft", widget: "boolean" } - { label: "Başlık", name: "title", widget: "string" } - { label: "Tarih", name: "date", widget: "datetime" } - { label: "Özet", name: "summary", widget: "string" } - - { label: "Kategori", name: "category", widget: "string" } + - { label: "Kategori", name: "category", widget: "select", options: ["fikir", "teknik", "edebiyat", "ansiklopedi"] } - { label: "Alt Kategori", name: "subcategory", widget: "string" } + - { label: "Body", name: "body", widget: "markdown" } media_folder: "src/assets/images" public_folder: "src/assets/images"