actuel-inactuel/site/blueprints/pages/linear.yml

67 lines
1.5 KiB
YAML

title: Linéaire
image:
back: black
color: white
icon: bars
create:
fields:
- category
tabs:
contentTab:
label: Contenu
sections:
bodySection:
label: Corps
type: fields
fields:
subtitle:
label: Sous-titre
type: writer
help: optionnel
marks:
- italic
node: false
chapo:
label: Chapo
extends: fields/body
help: optionnel
isArchiveMode:
label: Mode archive
type: toggle
width: 1/4
help: |
Actif : l'ancien champ body sera affiché dans le panel (texte sans médias). Utile pour éditer d'anciens articles uniquement.
when:
isHtmlMode: false
bodyBlocks:
extends: fields/bodyBlocks
width: 3/4
when:
isHtmlMode: false
isArchiveMode: false
body:
extends: fields/body
help: Anciens champs conservés pour archive (ne pas remplir pour les nouveaux articles)
width: 3/4
when:
isHtmlMode: false
isArchiveMode: true
htmlBody:
label: Corps
type: textarea
buttons:
- headlines
- bold
- italic
- link
when:
isHtmlMode: true
paramsTab: tabs/params
metaTab: tabs/meta
seo:
extends: seo/page
label: Indexation