{{ if .Param "image" }}
{{ $imagename := .Param "image" }}
{{ $imagelocation := (printf "%s/%s" "images/events/" $imagename) }}
{{ $imageresource := resources.Get $imagelocation }}
{{ $image := $imageresource }}
{{ else }}
{{ .Title }}
{{ end }}
{{ .Param "title" }}
{{ dateFormat "January 2, 2006" $eventdate }}
{{ .Param "eventtime" }}
{{ .Param "eventcalendar" }}
{{ .Content }}