backend:
  name: gitea
  repo: StartIT/mantelzorgwoning.info
  branch: main
  app_id: e259dcce-d5d7-48cc-a401-f458548c8e28
  api_root: https://git.start-it.nl/api/v1
  base_url: https://git.start-it.nl
  auth_endpoint: https://git.start-it.nl/login/oauth/authorize

media_folder: "static/images"
public_folder: "/images"

collections:
  - name: "homepage"
    label: "Homepage"
    files:
      - file: "content/_index.nl.md"
        name: "home"
        label: "Homepage"
        fields:
          - { label: "Titel", name: "title", widget: "string" }

          - label: "Banner"
            name: "banner"
            widget: "object"
            fields:
              - { label: "Titel", name: "title", widget: "string" }
              - { label: "Subtitel", name: "subtitle", widget: "markdown" }
              - { label: "Afbeelding", name: "image", widget: "image" }

          - label: "Banner-knop"
            name: "banner_button"
            widget: "object"
            fields:
              - { label: "Actief", name: "enable", widget: "boolean", default: true }
              - { label: "Label", name: "label", widget: "string" }
              - { label: "Link", name: "link", widget: "string" }

          - label: "Call to Action"
            name: "call_to_action"
            widget: "object"
            fields:
              - { label: "Actief", name: "enable", widget: "boolean", default: true }
              - { label: "Titel", name: "title", widget: "string" }
              - { label: "Afbeelding", name: "image", widget: "image" }
              - { label: "Content", name: "content", widget: "markdown" }
              - label: "Knop"
                name: "button"
                widget: "object"
                fields:
                  - { label: "Actief", name: "enable", widget: "boolean", default: true }
                  - { label: "Label", name: "label", widget: "string" }
                  - { label: "Link", name: "link", widget: "string" }
  - name: "faq"
    label: "Veelgestelde vragen"
    files:
      - file: "content/faq/index.nl.md"
        name: "faq_page"
        label: "FAQ pagina"
        fields:
          - { label: "Titel", name: "title", widget: "string" }
          - { label: "Beschrijving", name: "description", widget: "string", required: false }
          - { label: "Concept", name: "draft", widget: "boolean", default: false }
          - { label: "Layout", name: "layout", widget: "string", default: "faq" }
          - label: "Build-instellingen"
            name: "build"
            widget: "object"
            fields:
              - { label: "Render", name: "render", widget: "string", default: "never", required: false }
              - { label: "List", name: "list", widget: "string", default: "never", required: false }
          - { label: "Inhoud (FAQ’s, shortcodes etc.)", name: "body", widget: "markdown" }
  - name: "beleid_provincies"
    label: "Beleid – Provincies"
    label_singular: "Provincie"
    folder: "content/beleid"
    create: true
    format: "frontmatter"
    extension: "md"
    path: "{{fields.key}}/_index.nl"
    slug: "{{fields.key}}"
    fields:
      - { name: "title", label: "Titel", widget: "string" }
      - { name: "key", label: "Systeemnaam (map)", widget: "string", hint: "Bijv. drenthe, overijssel, gelderland" }
      - { name: "date", label: "Datum", widget: "datetime" }
      - { name: "draft", label: "Concept", widget: "boolean", default: false }
      - { name: "feedback", label: "Feedbackformulier tonen", widget: "boolean", default: true, required: false }
      - { name: "flag", label: "Vlag-icoon", widget: "image", required: false }
      - { name: "body", label: "Inhoud", widget: "markdown" }
