diff --git a/static/admin/config.yml b/static/admin/config.yml index afcb1df..5bd64ea 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -2,6 +2,9 @@ backend: name: github repo: ahmzaa/blog-ahmza-com + branch: main + squash_merges: true + base_url: https://sveltia-cms-auth.hamzaahmed12328.workers.dev use_graphql: true commit_messages: create: Create {{collection}} "{{slug}}" @@ -12,7 +15,7 @@ backend: openAuthoring: '{{message}}' ## Publish mode -publish_mode: simple # Allowed Values: simple, editorial_workflow +publish_mode: editorial_workflow # Allowed Values: simple, editorial_workflow ## Media and Public folders #Media @@ -30,12 +33,18 @@ collections: identifier_field: name label: posts label_singular: post + icon: article description: sites main content, blog posts folder: "content/posts" + path: "{{slug}}/index" + media_folder: "" + public_folder: "" create: true slug: '{{slug}}' fields: - {label: "Title", name: "title", widget: "string"} + - {label: "Featured Image", name: "featureimage", widget: "image"} + - {label: "Featured Image Caption", name: "featureimagecaption", widget: "string"} - {label: "Publish Date", name: "date", widget: "datetime", default: "{{now}}", date_format: "YYYY-MM-DD"} - {label: "Last Modified", name: "lastmod", widget: "datetime", default: "{{now}}", date_format: "YYYY-MM-DD"} - {label: "Author", name: "author", widget: "string", default: "ahmza"}