backend:
  name: github
  repo: welter-felix/forthosestillbecoming
  branch: main
  base_url: https://cms-auth.forthosestillbecoming.com
  auth_endpoint: /auth

publish_mode: editorial_workflow

site_url: https://forthosestillbecoming.com
display_url: https://forthosestillbecoming.com

media_folder: "public/uploads"
public_folder: "/uploads"

collections:
  - name: "posts"
    label: "Posts"
    label_singular: "Post"
    folder: "content/posts"
    create: true
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    extension: "md"
    format: "frontmatter"
    fields:
      - { label: "Title", name: "title", widget: "string" }
      - {
          label: "Category",
          name: "category",
          widget: "select",
          options: ["Everyday Life", "Philosophy", "Fragments"]
        }
      - { label: "Description", name: "description", widget: "text" }
      - { label: "Publish Date", name: "date", widget: "datetime" }
      - { label: "Draft", name: "draft", widget: "boolean", default: false }
      - { label: "Cover Image", name: "cover", widget: "image", required: false }
      - { label: "Body", name: "body", widget: "markdown" }
