Skip to content

Commit

Permalink
wip - cms
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitdemaegdt committed Nov 9, 2023
1 parent b680e4a commit ac217d4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions public/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ logo_url: 'https://cyclopolis.lavilleavelo.org/Logo_Cyclopolis_v2.png'
collections:
- name: 'news'
label: 'Historique'
description: 'Changelog public de cyclopolis'
folder: 'content/news'
format: 'frontmatter'
frontmatter_delimiter: '---'
create: true
slug: '{{year}}-{{month}}-{{day}}'
editor:
preview: false
fields:
- { label: 'Date', name: 'date', widget: 'datetime' }
- { label: 'Texte bannière', name: 'newsBannerText' }
- { label: 'Date', hint: 'Date de la news (affichée à gauche dans la frise)', name: 'date', widget: 'datetime' }
- { label: 'Texte bannière', hint: "Le texte de la dernière news est affiché dans la bannière d'info en haut de toutes les pages.", name: 'newsBannerText' }
- { label: 'Contenu', name: 'body', widget: 'markdown' }

0 comments on commit ac217d4

Please sign in to comment.