Add french dates
This commit is contained in:
parent
4926cc3143
commit
3cec5b4f8c
4 changed files with 10 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Second post"
|
title: "Second post"
|
||||||
ConcertDate: "Test"
|
ConcertDate: "2026-01-08T18:00:00"
|
||||||
Summary: "I'm a summary"
|
Summary: "I'm a summary"
|
||||||
Description: "I'm a desciption"
|
Description: "I'm a desciption"
|
||||||
TicketsLink: "https://helloasso.com"
|
TicketsLink: "https://helloasso.com"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Vols au dessus du volcan"
|
title: "Vols au dessus du volcan"
|
||||||
ConcertDate: "Samedi 8 nov. 2025 18:00"
|
ConcertDate: "2025-11-08T18:00:00"
|
||||||
Summary: "Une évoquation des voyages incessants d’Antoine de Saint-Exupéry et de sa femme Consuelo Suncín, marquée par les éruptions des volcans d’El Salvador de son enfance."
|
Summary: "Une évoquation des voyages incessants d’Antoine de Saint-Exupéry et de sa femme Consuelo Suncín, marquée par les éruptions des volcans d’El Salvador de son enfance."
|
||||||
Description: "Isabelle Chemin - Musique & théatre"
|
Description: "Isabelle Chemin - Musique & théatre"
|
||||||
TicketsLink: "https://www.helloasso.com/associations/association-des-amis-de-la-chapelle-victoria-de-grasse/evenements/tickets-vols-au-dessus-du-volcan"
|
TicketsLink: "https://www.helloasso.com/associations/association-des-amis-de-la-chapelle-victoria-de-grasse/evenements/tickets-vols-au-dessus-du-volcan"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
baseURL = 'https://adlc.dawl.fr/'
|
baseURL = 'https://adlc.dawl.fr/'
|
||||||
languageCode = 'fr'
|
languageCode = 'fr-FR'
|
||||||
|
defaultContentLanguage = "fr"
|
||||||
|
defaultContentLang = "fr"
|
||||||
title = 'Les amis de la chapelle Victoria'
|
title = 'Les amis de la chapelle Victoria'
|
||||||
disableKinds = ['taxonomy', 'term']
|
disableKinds = ['taxonomy', 'term']
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,11 @@
|
||||||
<div class="concerts">
|
<div class="concerts">
|
||||||
{{ range where site.RegularPages "Section" "event" }}
|
{{ range where site.RegularPages "Section" "event" }}
|
||||||
<div class="concert-entry">
|
<div class="concert-entry">
|
||||||
<p class="concert-date">{{ .Params.ConcertDate }}</p>
|
<p class="concert-date">
|
||||||
|
{{ $t := time.AsTime .Params.ConcertDate }}
|
||||||
|
{{ $format := "Monday 2 Jan 2006 15h04" }}
|
||||||
|
{{ time.Format $format $t | humanize }}
|
||||||
|
</p>
|
||||||
<div class="concert-cover">
|
<div class="concert-cover">
|
||||||
{{ with .Resources.GetMatch "cover.*" }}
|
{{ with .Resources.GetMatch "cover.*" }}
|
||||||
<img
|
<img
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue