Renommer investigation en investigation-summary et créer blueprint complet
Renommage des fichiers investigation -> investigation-summary pour mieux différencier le résumé d'enquête (investigation-summary) du rapport complet (report). Création du blueprint investigation-summary.yml avec les champs : - Type de hero (image, slider, vidéo) - Images hero et URLs vidéo - Visuel de couverture (cover) - Synthèse, méthodologie, équipe - Partenaires et enquêtes en lien Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
b158d37cec
commit
b5c8a389c3
3 changed files with 110 additions and 0 deletions
110
site/blueprints/pages/investigation-summary.yml
Normal file
110
site/blueprints/pages/investigation-summary.yml
Normal file
|
|
@ -0,0 +1,110 @@
|
||||||
|
title: Investigation Summary
|
||||||
|
|
||||||
|
tabs:
|
||||||
|
contentTab:
|
||||||
|
label: Contenu
|
||||||
|
icon: page
|
||||||
|
columns:
|
||||||
|
- width: 2/6
|
||||||
|
fields:
|
||||||
|
created:
|
||||||
|
label: Première publication
|
||||||
|
type: date
|
||||||
|
display: DD / MM / YYYY
|
||||||
|
default: today
|
||||||
|
width: 1/2
|
||||||
|
- width: 4/6
|
||||||
|
fields:
|
||||||
|
chapo:
|
||||||
|
label: Chapo
|
||||||
|
type: writer
|
||||||
|
nodes: false
|
||||||
|
buttons: false
|
||||||
|
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
|
||||||
|
heroType:
|
||||||
|
label: Type de hero
|
||||||
|
type: select
|
||||||
|
options:
|
||||||
|
image: Image simple
|
||||||
|
slider: Slider d'images
|
||||||
|
video: Vidéo
|
||||||
|
default: image
|
||||||
|
width: 1/3
|
||||||
|
heroImages:
|
||||||
|
label: Images hero
|
||||||
|
type: files
|
||||||
|
multiple: true
|
||||||
|
layout: cards
|
||||||
|
when:
|
||||||
|
heroType: image
|
||||||
|
heroType: slider
|
||||||
|
videoExtractUrl:
|
||||||
|
label: URL vidéo d'extrait (autoplay)
|
||||||
|
type: url
|
||||||
|
when:
|
||||||
|
heroType: video
|
||||||
|
width: 1/2
|
||||||
|
videoFullUrl:
|
||||||
|
label: URL vidéo complète (YouTube embed)
|
||||||
|
type: url
|
||||||
|
when:
|
||||||
|
heroType: video
|
||||||
|
width: 1/2
|
||||||
|
synthesis:
|
||||||
|
label: Synthèse
|
||||||
|
type: textarea
|
||||||
|
size: large
|
||||||
|
buttons: false
|
||||||
|
metadataTab:
|
||||||
|
label: Métadonnées
|
||||||
|
icon: table
|
||||||
|
fields:
|
||||||
|
incidentDate:
|
||||||
|
label: Date de l'incident
|
||||||
|
type: date
|
||||||
|
display: DD / MM / YYYY
|
||||||
|
width: 1/3
|
||||||
|
incidentLocation:
|
||||||
|
label: Lieu de l'incident
|
||||||
|
type: text
|
||||||
|
width: 1/3
|
||||||
|
incidentConsequences:
|
||||||
|
label: Conséquence(s)
|
||||||
|
type: text
|
||||||
|
width: 1/3
|
||||||
|
keywords:
|
||||||
|
label: Mots-clés
|
||||||
|
type: tags
|
||||||
|
width: 1/2
|
||||||
|
methodology:
|
||||||
|
label: Méthodologie
|
||||||
|
type: tags
|
||||||
|
width: 1/2
|
||||||
|
partners:
|
||||||
|
label: Partenaires
|
||||||
|
type: structure
|
||||||
|
width: 1/2
|
||||||
|
fields:
|
||||||
|
name:
|
||||||
|
label: Nom
|
||||||
|
type: text
|
||||||
|
link:
|
||||||
|
label: Lien
|
||||||
|
type: url
|
||||||
|
team:
|
||||||
|
label: Équipe Index
|
||||||
|
type: tags
|
||||||
|
width: 1/2
|
||||||
|
relatedInvestigations:
|
||||||
|
label: Enquêtes en lien
|
||||||
|
type: pages
|
||||||
|
multiple: true
|
||||||
|
query: site.find('enquetes').children
|
||||||
Loading…
Add table
Add a link
Reference in a new issue