{{ define "main" }}

EVENT DETAILS

{{ .Title }}

Date & Time {{ .Params.date | dateFormat "Monday, January 2, 2006 at 3:04 PM" }}
{{ if .Params.end_date }}
End Time {{ .Params.end_date | dateFormat "Monday, January 2, 2006 at 3:04 PM" }}
{{ end }} {{ if .Params.location }}
Location {{ .Params.location }}
{{ end }} {{ if .Params.organizer }}
Organizer {{ .Params.organizer }}
{{ end }} {{ if .Params.capacity }}
Capacity {{ .Params.capacity }} people
{{ end }} {{ if .Params.cost }}
Cost {{ .Params.cost }}
{{ end }}
{{ .Content }}
{{ if .Params.registration_url }}

REGISTRATION

Register for this event

{{ end }} {{ if .Params.contact }}

Contact Information

{{ .Params.contact }}

{{ end }}
{{ end }}