geoproject-app/public/site/blueprints/pages/geoformat.yml
isUnknown 033023f6ef refactor: move coverFiles to plugin as page/file methods
Replace GeoformatPage model with a plugin registering coverFiles as a
pageMethod (available on all pages) and coverLabel as a fileMethod to
display "Carte [title]" for map children files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 11:30:32 +01:00

44 lines
1.1 KiB
YAML

title: Géoformat
tabs:
contentTab:
columns:
main:
width: 2/3
sections:
fields:
type: fields
fields:
blueprint: fields/blueprint
subtitle:
label: Sous-titre
type: text
width: 1/2
tags:
label: Mots-clés
type: tags
width: 1/2
cover:
label: Media de couverture
type: files
query: page.coverFiles
text: "{{ file.coverLabel }}"
multiple: false
width: 1/2
text:
label: Chapeau
type: writer
chapters:
label: Chapitres
type: pages
template: chapter
sidebar:
width: 1/3
sections:
maps:
label: Cartes
type: pages
template: map
help: Créez des cartes ici avant de pouvoir les ajouter dans un bloc ou en couverture.
filesTab: tabs/files