- Rename `superPinnedInvestigation` → `featuredInvestigation` (à la une, max 1) - Rename `pinnedInvestigations` → stays `pinnedInvestigations` but now multiple - Rename tab `highlightTab` → `starredTab` - Update home.php to use new field names Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
title: Investigations
|
|
|
|
tabs:
|
|
contentTab:
|
|
label: Contenu
|
|
icon: page
|
|
columns:
|
|
- width: 1/3
|
|
fields:
|
|
chapo:
|
|
label: Introduction
|
|
type: writer
|
|
nodes: false
|
|
buttons: false
|
|
- width: 2/3
|
|
sections:
|
|
investigations: fields/investigations
|
|
starredTab:
|
|
label: En avant
|
|
icon: star
|
|
fields:
|
|
featuredInvestigation:
|
|
label: À la une
|
|
type: pages
|
|
query: page('enquetes').children.listed
|
|
multiple: false
|
|
max: 1
|
|
layout: list
|
|
text: "{{ page.title }}"
|
|
info: "{{ page.incidentDate }}"
|
|
width: 1/3
|
|
help: Affichée en tête et en plus grand, avec son média de couverture (vidéo ou image).
|
|
pinnedInvestigations:
|
|
label: Enquêtes épinglées
|
|
type: pages
|
|
query: page('enquetes').children.listed
|
|
multiple: true
|
|
layout: list
|
|
text: "{{ page.title }}"
|
|
info: "{{ page.incidentDate }}"
|
|
width: 2/3
|
|
help: Affichées après l'enquête "à la une", avant les autres mais dans le même format, simplement marquées par une 📌.
|
|
seo: seo/page
|