add last photos and no upcoming concerts

This commit is contained in:
dolphinau 2026-04-29 11:37:53 +02:00
parent ff2f781082
commit e9e43bddbb
16 changed files with 20 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

View file

@ -0,0 +1,5 @@
---
title: "Marc Antoine Charpentier - Trésor de carême"
type: "galerie"
concertLink: "events/3"
---

View file

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 79 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Before After
Before After

View file

@ -1,5 +1,5 @@
---
title: "Marc Antoine Charpentier - Trésor de carême"
title: "La Musique Française du XXe Siècle"
type: "galerie"
concertLink: "events/4"
---

View file

@ -1,13 +1,17 @@
{{ $currentTime := (time now) }}
{{ $sites := where site.RegularPages "Section" "events" }}
{{ if gt (len $sites) 0 }}
{{ $events := where $sites "Params.ConcertDate" "gt" $currentTime}}
<div class="concerts">
<h2>Programme</h2>
{{ range sort $sites ".Params.ConcertDate" }}
{{ $currentTime := (time now) }}
{{ $delta := $currentTime.Sub (time .Params.ConcertDate ) }}
{{ if lt $delta 0 }}
{{ if gt (len $events) 0 }}
{{ range sort $events ".Params.ConcertDate" }}
{{ partial "events/entry.html" (dict "context" . "tickets" true) }}
{{ end }}
{{ else }}
<p>Aucun concert prévu pour l'instant !</p>
{{ end }}
</div>
{{ end }}