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
|
|
@ -270,6 +270,10 @@ main {
|
|||
.main-header nav ul li a {
|
||||
font-weight: 900;
|
||||
}
|
||||
.main-header nav ul li.characters {
|
||||
flex: 0 0 200px;
|
||||
justify-content: center;
|
||||
}
|
||||
.main-header nav ul li.characters svg {
|
||||
width: var(--char-size);
|
||||
height: auto;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
<?php snippet('header') ?>
|
||||
|
||||
<ul class="sort-buttons">
|
||||
<li><button data-view="months">Par mois</button></li>
|
||||
<li><button data-view="events">Par pièces</button></li>
|
||||
<li><button data-view="months">par mois</button></li>
|
||||
<li><button data-view="events">par pièces</button></li>
|
||||
</ul>
|
||||
|
||||
<section class="dates-container" data-view-section="months">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue