Files
CoqBlog/static/admin/config.yml
T
alois 1b8890f192
Build and Deploy Hugo / build (push) Has been cancelled
feat: ajout Decap CMS
2026-05-21 15:17:36 +02:00

82 lines
1.7 KiB
YAML

backend:
name: gitea
repo: alois/CoqBlog
branch: main
base_url: https://auth.alocoq.fr/decap
auth_endpoint: /auth
media_folder: static/img
public_folder: /img
locale: fr
collections:
- name: projets
label: Projets
folder: content/projets
create: true
slug: "{{slug}}"
fields:
- label: Titre
name: title
widget: string
- label: Date
name: date
widget: datetime
format: "2006-01-02"
- label: Description
name: description
widget: string
- label: Tags
name: tags
widget: list
default: []
- label: Image de couverture
name: cover
widget: object
required: false
fields:
- label: Image
name: image
widget: image
required: false
- label: Texte alternatif
name: alt
widget: string
required: false
- label: Brouillon
name: draft
widget: boolean
default: true
- label: Contenu
name: body
widget: markdown
- name: blog
label: Blog
folder: content/blog
create: true
slug: "{{slug}}"
fields:
- label: Titre
name: title
widget: string
- label: Date
name: date
widget: datetime
format: "2006-01-02"
- label: Description
name: description
widget: string
- label: Tags
name: tags
widget: list
default: []
- label: Brouillon
name: draft
widget: boolean
default: true
- label: Contenu
name: body
widget: markdown