fix bug
This commit is contained in:
parent
d261361cb4
commit
b9f6daa55d
4 changed files with 44 additions and 3 deletions
8
layouts/events/single.html
Normal file
8
layouts/events/single.html
Normal 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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue