64 lines
1.6 KiB
YAML
64 lines
1.6 KiB
YAML
title: Projet
|
|
|
|
tabs:
|
|
contentTab:
|
|
label: Contenu
|
|
icon: page
|
|
columns:
|
|
- width: 2/6
|
|
sections:
|
|
createdSection:
|
|
type: fields
|
|
fields:
|
|
created:
|
|
label: Date de publication
|
|
type: date
|
|
display: DD / MM / YYYY
|
|
default: today
|
|
width: 1/2
|
|
category:
|
|
label: Catégorie
|
|
type: tags
|
|
max: 1
|
|
options: query
|
|
query: page('database').projectCategories.split
|
|
cover:
|
|
label: Image de couverture
|
|
type: files
|
|
multiple: false
|
|
layout: cards
|
|
image:
|
|
ratio: 12/7
|
|
cover: true
|
|
help: Optionnelle — utilisée dans la liste des projets. Format 16/9.
|
|
|
|
- width: 4/6
|
|
fields:
|
|
chapo:
|
|
label: Chapeau
|
|
type: writer
|
|
nodes: false
|
|
marks:
|
|
- bold
|
|
- italic
|
|
linkedInvestigations:
|
|
label: Enquêtes liées
|
|
type: pages
|
|
query: page('enquetes').children.listed
|
|
multiple: true
|
|
layout: list
|
|
text: "{{ page.title }}"
|
|
info: "{{ page.created }}"
|
|
body:
|
|
label: Corps
|
|
type: blocks
|
|
fieldsets:
|
|
- heading
|
|
- text
|
|
- image
|
|
- beforeafter
|
|
- video
|
|
- gallery
|
|
- insert
|
|
|
|
seo: seo/page
|