refactor: restructure blueprints with tabs and shared fields

Reorganize narrative, geoformat, chapter, project and map blueprints
to use tabs layout. Add shared blueprint fields and files tab partials.
Update map block query for new page hierarchy.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-02-25 15:00:50 +01:00
parent ffcb1a9f2e
commit 9482dfa08c
6 changed files with 108 additions and 80 deletions

View file

@ -1,44 +1,49 @@
title: Narrative
title: Récit
columns:
main:
width: 2/3
sections:
fields:
type: fields
fields:
blueprint:
type: headline
label: Page "{{ page.intendedTemplate }}"
author:
label: Auteur·ice(s)
type: text
width: 1/2
cover:
label: Image de couverture
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
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
multiple: false
width: 1/2
introduction:
label: Introduction
type: writer
customCss:
label: Custom CSS
type: code-editor
language: css
help: Custom CSS styling for this narrative's print view
theme: monokai
size: large
pages:
label: Pages
type: pages
template:
- map
- geoformat
info: "{{ page.intendedTemplate }}"
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