{{ partial "header.html" . }} {{ partial "navbar.html" . }}

{{ .Title }}

{{ range .Pages.ByDate.Reverse }} {{ $eventdate := .Param "eventdate" }}
{{ if .Param "image" }} {{ $imagename := .Param "image" }} {{ $imagelocation := (printf "%s/%s" "images/events/" $imagename) }} {{ $imageresource := resources.Get $imagelocation }} {{ $image := $imageresource }} {{ .Param {{ else }} {{ .Param "title" }} {{ end }}

{{ .Param "title" }}

{{ dateFormat "January 2, 2006" $eventdate }}
{{ .Param "eventtime" }}
{{ .Param "eventcalendar" }}

{{ .Content }}

Registration

{{ end }}
{{ partial "footer.html" . }}