geoproject-app/public/site/blueprints/pages/narrative.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

51 lines
1.2 KiB
YAML

title: Récit
tabs:
contentTab:
label: Contenu
columns:
main:
width: 2/3
sections:
fields:
type: fields
fields:
blueprint: fields/blueprint
author:
label: Auteur·ice(s)
type: text
width: 1/2
cover:
label: Image de couverture
type: files
query: page.coverFiles
text: "{{ file.coverLabel }}"
multiple: false
width: 1/2
introduction:
label: Introduction
type: writer
parts:
label: Parties
type: pages
template:
- map
- geoformat
info: "{{ page.blueprint.title }}"
sidebar:
width: 1/3
sections:
files:
label: Fichiers
type: files
CSSTab:
label: CSS
icon: brush
fields:
customCss:
label: Custom CSS
type: code-editor
language: css
help: Custom CSS styling for this narrative's print view
theme: monokai
size: large