nouveau-theatre-de-besancon/site/blueprints/site.yml

163 lines
4.1 KiB
YAML
Raw Normal View History

2024-07-24 09:43:31 +02:00
title: NTB
tabs:
contentTab:
label: Accueil
icon: home
columns:
- width: 1/1
fields:
infoBannerHeading:
type: headline
label: Bannière d'infos
infoBannerColor:
label: Couleur de fond
extends: fields/color
2024-07-24 09:43:31 +02:00
infoBanner:
label: Messages
2024-09-03 14:18:49 +02:00
type: structure
2024-07-24 09:43:31 +02:00
help: Affichée en haut de la page d'accueil.
2024-09-03 14:18:49 +02:00
fields:
message:
label: Message
type: text
width: 1/2
link:
label: Lien
type: link
width: 1/2
options:
- url
- page
2024-07-24 09:43:31 +02:00
separator1:
type: line
- width: 1/1
fields:
heroHeadline:
type: headline
label: Hero
- width: 1/2
fields:
2024-07-29 18:41:34 +02:00
heroMode:
label: Mode
type: radio
columns: 2
default: nextEvent
options:
event: Événement
2024-07-29 18:41:34 +02:00
custom: Personnalisé
2024-07-24 09:43:31 +02:00
heroText:
2024-07-29 18:41:34 +02:00
label: Text
type: blocks
when:
heroMode: custom
fieldsets:
- hero-heading
- hero-text
2024-07-24 09:43:31 +02:00
heroLinkUrl:
label: Lien
2024-07-29 18:41:34 +02:00
type: link
2024-07-24 09:43:31 +02:00
width: 1/2
2024-07-29 18:41:34 +02:00
options:
- url
- page
help: Optionnel. Laisser vide pour ne pas afficher de lien dans le hero.
when:
heroMode: custom
2024-07-24 09:43:31 +02:00
heroLinkText:
label: Texte du Lien
type: text
width: 1/2
2024-07-29 18:41:34 +02:00
when:
heroMode: custom
2024-07-24 09:43:31 +02:00
- width: 1/2
fields:
heroEvent:
label: Événement
type: pages
query: page('programme').grandChildren
when:
heroMode: event
2024-07-24 09:43:31 +02:00
heroImage:
label: Image
type: files
min: 1
2024-09-20 14:57:29 +02:00
max: 2
2024-07-24 09:43:31 +02:00
layout: cards
2024-09-20 14:59:54 +02:00
size: large
help: Mettez deux images pour que la première soit utilisée comme image de couverture, disparaissant au survol.
2024-07-24 09:43:31 +02:00
image:
ratio: 4/3
cover: true
2024-07-30 12:07:47 +02:00
when:
heroMode: custom
2024-07-24 09:43:31 +02:00
- width: 1/1
fields:
line:
2024-07-24 09:43:31 +02:00
type: line
events:
label: Événement
type: pages
layout: cards
size: huge
query: page('programme').grandChildren
max: 3
image:
cover: true
otherLine:
type: line
- width: 1/1
fields:
callout: fields/callout
2024-07-24 09:43:31 +02:00
navigationTab:
label: Menu
icon: bars
2024-09-04 15:12:29 +02:00
columns:
- width: 1/2
sections:
extendedNav:
type: pages
label: Menu développé
templates:
- sectioned
- program
create:
- sectioned
info: "{{ page.blueprint.title }}"
help: Pages visibles dans le menu burger. Modifiez l'ordre d'affichage avec la poignée ⁝⁝ qui s'affiche au survol d'un élément.
- width: 1/2
fields:
featuredPages:
type: pages
label: Pages en avant
query: site.children.filterBy('template', 'in', ['sectioned', 'program'])
subpages: false
max: 3
help: Max 3 pages toujours visibles dans l'en-tête du site.
2024-07-31 18:29:16 +02:00
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
2024-09-19 07:36:53 +02:00
seo: seo/site
2024-11-04 17:28:54 +01:00
files: tabs/files