Add french dates
This commit is contained in:
parent
4926cc3143
commit
3cec5b4f8c
4 changed files with 10 additions and 4 deletions
|
|
@ -3,7 +3,11 @@
|
|||
<div class="concerts">
|
||||
{{ range where site.RegularPages "Section" "event" }}
|
||||
<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">
|
||||
{{ with .Resources.GetMatch "cover.*" }}
|
||||
<img
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue