This commit is contained in:
dolphinau 2025-09-07 02:31:24 +02:00
parent d261361cb4
commit b9f6daa55d
4 changed files with 44 additions and 3 deletions

View file

@ -1,3 +1,4 @@
{{ define "main" }}
<div class="event">{{ .Content }}</div>
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ end }}

View file

@ -0,0 +1,8 @@
{{ define "main" }}
<h3 class="event-date">
{{ $t := time.AsTime .Params.ConcertDate }}
{{ $format := "Monday 2 Jan 2006 15h04" }}
{{ time.Format $format $t | humanize }}
</h3>
<div class="event">{{ .Content }}</div>
{{ end }}