nouveau-theatre-de-besancon/site/blueprints/site.yml
2024-08-18 16:56:58 +02:00

116 lines
2.6 KiB
YAML

title: NTB
tabs:
contentTab:
label: Accueil
icon: home
columns:
- width: 1/1
fields:
infoBanner:
label: Bannière d'info
type: writer
help: Affichée en haut de la page d'accueil.
separator1:
type: line
- width: 1/1
fields:
heroHeadline:
type: headline
label: Hero
- width: 1/2
fields:
heroMode:
label: Mode
type: radio
columns: 2
default: nextEvent
options:
nextEvent: Prochain événement
custom: Personnalisé
heroText:
label: Text
type: blocks
when:
heroMode: custom
fieldsets:
- hero-heading
- hero-text
heroLinkUrl:
label: Lien
type: link
width: 1/2
options:
- url
- page
- file
- email
help: Optionnel. Laisser vide pour ne pas afficher de lien dans le hero.
when:
heroMode: custom
heroLinkText:
label: Texte du Lien
type: text
width: 1/2
when:
heroMode: custom
- width: 1/2
fields:
heroImage:
label: Image
type: files
min: 1
max: 1
layout: cards
size: full
image:
ratio: 4/3
cover: true
when:
heroMode: custom
- width: 1/1
fields:
separator2:
type: line
calloutHeadline:
type: headline
label: Brève
calloutText:
label: Texte
type: writer
navigationTab:
label: Menu
icon: bars
sections:
mainPages:
type: pages
label: Pages principales
templates:
- sectioned
- program
create:
- sectioned
info: "{{ page.blueprint.title }}"
contactTab:
label: Contact
icon: email
columns:
- width: 1/2
fields:
footerInfos:
label: Pied-de-page
type: writer
node: false
help: Texte libre affiché en bas de chaque page.
marks:
- bold
- email
- link
- width: 1/2
fields:
instagram:
type: url
icon: instagram
facebook:
type: url
icon: facebook