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:
parent
ffcb1a9f2e
commit
9482dfa08c
6 changed files with 108 additions and 80 deletions
|
|
@ -1,38 +1,43 @@
|
|||
title: Géoformat
|
||||
|
||||
columns:
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
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
|
||||
multiple: false
|
||||
width: 1/2
|
||||
text:
|
||||
label: Chapeau
|
||||
type: writer
|
||||
pages:
|
||||
label: Chapitres
|
||||
type: pages
|
||||
template: chapitre
|
||||
sidebar:
|
||||
width: 1/3
|
||||
sections:
|
||||
files:
|
||||
label: Fichiers
|
||||
type: files
|
||||
|
||||
|
||||
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
|
||||
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
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ columns:
|
|||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
blueprint: fields/blueprint
|
||||
tags:
|
||||
label: Mots-clés
|
||||
type: tags
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue