# Sveltia CMS — Visueel Noteren (details)

media_folder: static/images/uploads
public_folder: /images/uploads

collections:
  # ── Blog posts (NL) ────────────────────────────────────────────────────────
  - name: blog_nl
    label: "Blog (NL)"
    label_singular: "Blogpost (NL)"
    folder: content/nl/blog
    create: true
    slug: "{{slug}}"
    format: yaml-frontmatter
    extension: md
    fields:
      - { label: Titel,           name: title,       widget: string }
      - { label: "Meta titel",    name: meta_title,  widget: string,  required: false }
      - { label: Beschrijving,    name: description, widget: string,  required: false }
      - { label: Publicatiedatum, name: date,        widget: datetime }
      - { label: Afbeelding,      name: image,       widget: image,   required: false }
      - { label: Categorieën,     name: categories,  widget: list,    required: false }
      - { label: Auteur,          name: author,      widget: string,  required: false }
      - { label: Tags,            name: tags,        widget: list,    required: false }
      - { label: Concept,         name: draft,       widget: boolean, default: true }
      - { label: Inhoud,          name: body,        widget: markdown }

  # ── Authors (NL) ───────────────────────────────────────────────────────────
  - name: auteurs_nl
    label: "Auteurs (NL)"
    label_singular: "Auteur (NL)"
    folder: content/nl/auteurs
    create: true
    slug: "{{slug}}"
    format: yaml-frontmatter
    extension: md
    fields:
      - { label: Naam,              name: title,       widget: string }
      - { label: Concept,           name: draft,       widget: boolean, default: false }
      - { label: "E-mailadres",     name: email,       widget: string,  required: false }
      - { label: Profielfoto,       name: image,       widget: image,   required: false }
      - { label: "Meta beschrijving", name: description, widget: string, required: false }
      - label: "Sociale media"
        name: social
        widget: list
        required: false
        fields:
          - { label: Naam,                  name: name, widget: string }
          - { label: "Font Awesome klasse", name: icon, widget: string }
          - { label: URL,                   name: link, widget: string }
      - { label: Bio, name: body, widget: markdown }

  # ── Workshop reviews (NL) ──────────────────────────────────────────────────
  - name: recensies_nl
    label: "Recensies (NL)"
    label_singular: "Recensie (NL)"
    folder: content/nl/leer/recensies
    create: true
    slug: "{{slug}}"
    format: yaml-frontmatter
    extension: md
    fields:
      - { label: Naam,        name: name,        widget: string }
      - { label: Functie,     name: designation, widget: string,  required: false }
      - { label: Avatar,      name: avatar,      widget: image,   required: false }
      - { label: Datum,       name: date,        widget: datetime }
      - { label: Tekst,       name: body,        widget: markdown }

  # ── Singleton pages (NL) ───────────────────────────────────────────────────
  - name: paginas_nl
    label: "Pagina's (NL)"
    files:
      - label: Startpagina
        name: home
        file: content/nl/_index.md
        format: yaml-frontmatter
        fields:
          - label: Banner
            name: banner
            widget: object
            fields:
              - { label: Titel,      name: title,   widget: string }
              - { label: Tekst,      name: content, widget: markdown }
              - { label: Afbeelding, name: image,   widget: image,   required: false }
              - label: Knop
                name: button
                widget: object
                fields:
                  - { label: "Toon knop", name: enable, widget: boolean, default: false }
                  - { label: Label,       name: label,  widget: string,  required: false }
                  - { label: Link,        name: link,   widget: string,  required: false }
          - label: Secties
            name: features
            widget: list
            fields:
              - { label: Titel,      name: title,   widget: string }
              - { label: Afbeelding, name: image,   widget: image,    required: false }
              - { label: Tekst,      name: content, widget: markdown }
              - label: Opsommingspunten
                name: bulletpoints
                widget: list
                required: false
              - label: Knoppen
                name: buttons
                widget: object
                required: false
                fields:
                  - { label: "Toon knoppen", name: enable, widget: boolean, default: false }
                  - label: Lijst
                    name: list
                    widget: list
                    required: false
                    fields:
                      - { label: Label, name: label, widget: string }
                      - { label: Link,  name: link,  widget: string }

      - label: Boek
        name: boek
        file: content/nl/boek/_index.md
        format: yaml-frontmatter
        fields:
          - { label: Titel,        name: title,      widget: string }
          - { label: "Meta titel", name: meta_title, widget: string,  required: false }
          - { label: Afbeelding,   name: image,      widget: image,   required: false }
          - { label: Layout,       name: layout,     widget: hidden,  default: info_page }
          - { label: Concept,      name: draft,      widget: boolean, default: false }
          - { label: Inhoud,       name: body,       widget: markdown }

      - label: "Weg naar het boek"
        name: onze_reis
        file: content/nl/boek/onze-reis/_index.md
        format: yaml-frontmatter
        fields:
          - { label: Titel,        name: title,      widget: string }
          - { label: "Meta titel", name: meta_title, widget: string,  required: false }
          - { label: Afbeelding,   name: image,      widget: image,   required: false }
          - { label: Layout,       name: layout,     widget: hidden,  default: info_page }
          - { label: Concept,      name: draft,      widget: boolean, default: false }
          - { label: Inhoud,       name: body,       widget: markdown }

      - label: "Workshops & Lezingen"
        name: workshops
        file: content/nl/leer/workshops/_index.md
        format: yaml-frontmatter
        fields:
          - { label: Titel,        name: title,      widget: string }
          - { label: "Meta titel", name: meta_title, widget: string,  required: false }
          - { label: Layout,       name: layout,     widget: hidden,  default: info_page }
          - { label: Concept,      name: draft,      widget: boolean, default: false }
          - { label: Inhoud,       name: body,       widget: markdown }
