panel : corriger la query infosPages dans site.yml
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a23a38e609
commit
1a87b30e48
4 changed files with 32 additions and 6 deletions
|
|
@ -1,5 +1,27 @@
|
|||
title: Site
|
||||
|
||||
sections:
|
||||
pages:
|
||||
type: pages
|
||||
tabs:
|
||||
dashboardTab:
|
||||
label: Tableau de bord
|
||||
columns:
|
||||
- width: 3/4
|
||||
sections:
|
||||
events:
|
||||
label: Spectacles
|
||||
type: pages
|
||||
parent: page('spectacles')
|
||||
template: event
|
||||
layout: cardlets
|
||||
info: |
|
||||
{{ page.schedule }}<br>
|
||||
{{ page.isLive ? '— en tournée' : '' }}
|
||||
image:
|
||||
query: page.cover.toFile
|
||||
cover: true
|
||||
- width: 1/4
|
||||
sections:
|
||||
infosPages:
|
||||
label: Pages infos
|
||||
type: pages
|
||||
create: false
|
||||
query: site.find('compagnie', 'infos')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue