backend:
  name: github
  repo: wmdigitalsolutionscom-prog/wmdigitalsolutions
  branch: main
  site_domain: www.wmdigitalsolutions.com
  base_url: https://www.wmdigitalsolutions.com
  auth_endpoint: oauth
media_folder: public/images/uploads
public_folder: /images/uploads
collections:
  - name: estadisticas-home
    label: Estadísticas Home
    files:
      - name: contadores
        label: Contadores de la página de inicio
        file: src/content/estadisticas.json
        fields:
          - label: Contadores
            name: contadores
            widget: list
            min: 3
            max: 3
            default:
              - numero: 11+
                texto: Proyectos entregados
              - numero: 100%
                texto: Infraestructura controlada por el cliente
              - numero: '0'
                texto: Dependencias de terceros
            fields:
              - label: Número
                name: numero
                widget: string
              - label: Texto
                name: texto
                widget: string
  - name: casos
    label: Casos de estudio
    label_singular: Caso
    folder: src/content/casos
    create: true
    slug: '{{slug}}'
    preview_path: casos/{{slug}}
    fields:
      - label: Título
        name: title
        widget: string
      - label: Descripción
        name: description
        widget: text
      - label: Cliente
        name: cliente
        widget: string
      - label: Servicios
        name: servicios
        widget: list
        default: []
      - label: Fecha
        name: fecha
        widget: datetime
        date_format: YYYY-MM-DD
        time_format: false
        format: YYYY-MM-DD
      - label: Contenido
        name: body
        widget: markdown
  - name: blog
    label: Artículos del blog
    label_singular: Artículo
    folder: src/content/blog
    create: true
    slug: '{{slug}}'
    preview_path: blog/{{slug}}
    fields:
      - label: Título
        name: title
        widget: string
      - label: Descripción
        name: description
        widget: text
      - label: Fecha
        name: fecha
        widget: datetime
        date_format: YYYY-MM-DD
        time_format: false
        format: YYYY-MM-DD
      - label: Keywords
        name: keywords
        widget: list
        default: []
      - label: Contenido
        name: body
        widget: markdown
locale: es
