137 lines
3.5 KiB
YAML
137 lines
3.5 KiB
YAML
title: Investigation
|
||
|
||
tabs:
|
||
contentTab:
|
||
label: Contenu
|
||
icon: page
|
||
columns:
|
||
- width: 2/6
|
||
sections:
|
||
createdSection:
|
||
type: fields
|
||
fields:
|
||
created:
|
||
label: Première publication
|
||
type: date
|
||
display: DD / MM / YYYY
|
||
default: today
|
||
width: 1/2
|
||
cover:
|
||
label: Visuel de couverture
|
||
type: files
|
||
multiple: false
|
||
layout: cards
|
||
image:
|
||
ratio: 12/7
|
||
cover: true
|
||
help: Image utilisée dans les listes d'enquêtes
|
||
- width: 4/6
|
||
fields:
|
||
chapo:
|
||
label: Chapo
|
||
type: writer
|
||
nodes: false
|
||
buttons: false
|
||
videoPreview:
|
||
label: Preview vidéo
|
||
type: files
|
||
multiple: false
|
||
help: "Extrait joué en autoplay muet. À remplir avec l'URL vidéo — les deux champs vont ensemble."
|
||
width: 1/2
|
||
videoUrl:
|
||
label: URL vidéo complète (YouTube embed)
|
||
type: url
|
||
width: 1/2
|
||
help: "À remplir avec la preview — les deux champs vont ensemble."
|
||
heroCaption:
|
||
label: Légende du hero
|
||
type: writer
|
||
nodes: false
|
||
marks:
|
||
- italic
|
||
help: "Recommandé : 140 caractères max"
|
||
body:
|
||
label: Corps
|
||
type: layout
|
||
layouts:
|
||
- "1/1"
|
||
- "1/2, 1/2"
|
||
fieldsets:
|
||
- heading
|
||
- text
|
||
- image
|
||
- beforeafter
|
||
- video
|
||
# - horizontal-gallery
|
||
- gallery
|
||
- insert
|
||
metadataTab:
|
||
label: Métadonnées
|
||
icon: table
|
||
fields:
|
||
incidentDate:
|
||
label: Date de l'incident
|
||
type: date
|
||
display: DD / MM / YYYY
|
||
width: 1/4
|
||
incidentLocation:
|
||
label: Lieu de l'incident
|
||
type: text
|
||
width: 1/4
|
||
incidentCountry:
|
||
label: Pays de l'incident
|
||
type: tags
|
||
max: 1
|
||
options: query
|
||
query: page('database').countries.split
|
||
width: 1/4
|
||
incidentConsequences:
|
||
label: Conséquence(s)
|
||
type: text
|
||
width: 1/4
|
||
keywords:
|
||
label: Mots-clés
|
||
type: tags
|
||
options: query
|
||
query: page('database').keywords.split
|
||
width: 1/4
|
||
methodologies:
|
||
label: Méthodologies
|
||
type: multiselect
|
||
options: query
|
||
query: page('database').methodologies.split
|
||
width: 1/4
|
||
partners:
|
||
label: Partenaires
|
||
type: structure
|
||
width: 1/4
|
||
fields:
|
||
name:
|
||
label: Nom
|
||
type: text
|
||
link:
|
||
label: Lien
|
||
type: url
|
||
team:
|
||
label: Équipe Index
|
||
type: structure
|
||
help: Le « rôle » s’affiche entre parenthèses
|
||
columns:
|
||
name:
|
||
label: Nom
|
||
width: 1/2
|
||
role:
|
||
label: Rôle
|
||
width: 1/2
|
||
fields:
|
||
name:
|
||
label: Nom
|
||
type: select
|
||
options: query
|
||
query: page('database').team.split
|
||
required: true
|
||
role:
|
||
label: Rôle
|
||
type: text
|
||
placeholder: ex. réalisation 3D, textes...
|
||
seo: seo/page
|