backend:
  # Change this to suit your hosting setup (e.g. git-gateway, github, gitlab, etc.)
  name: github
  repo: NexonTreeHouse/bshc-site
  branch: main

display_url: "https://bshc.com.au" # URL shown in the UI

logo:
  src: "https://www.bshc.com.au/_astro/bshc-logo-small.CSJusmOw_7i1kz.webp"
  show_in_header: true

media_folder: "src/content/uploads" # Where uploaded files are stored in the repo

collections:
  - name: "specialists" # Used in routes, e.g., /admin/collections/specialists
    label: "Specialists" # Used in the UI
    folder: "src/content/specialists" # The path to the folder where the documents are stored
    media_folder: ""
    public_folder: ""
    create: true # Allow users to create new documents in this collection
    fields: # The fields for each document, usually in frontmatter
      - { label: "Name", name: "name", widget: "string" }
      - {
          label: "Title",
          name: "title",
          widget: "string",
          hint: 'e.g. "Dr", "Mr", "Ms"',
        }
      - {
          label: "Role",
          name: "role",
          widget: "string",
          hint: "e.g. Geriatrician",
        }
      - { label: "Headshot", name: "headshot", widget: "image" }
      - {
          label: "Services",
          name: "services",
          widget: "list",
          hint: "Service slugs such as 'aged-care', separated by commas (,)",
        }
      - { label: "Body", name: "body", widget: "markdown" }
  - name: "services"
    label: "Services"
    folder: "src/content/services"
    create: true
    fields:
      - { label: "Title", name: "title", widget: "string" }
      - {
          label: "Short Description",
          name: "shortDescription",
          widget: "string",
        }
      - { label: "Body", name: "body", widget: "markdown" }
