Commit be26a976 authored by Laura Kalbag's avatar Laura Kalbag

Also create basic single template for events

In case people access them via the RSS feed. Contains same information as in events list view.
parent 491680be
{{ define "main" }}
<main id="content">
<h1>{{ .Title }}</h1>
<p>{{ .Params.eventCity }}, {{ .Params.eventCountry }} on <time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}' class='dt-start'>
{{- .Date.Format "2" | humanize }} {{ .Date.Format "January, 2006" -}}
<p class="summary p-summary">
{{- .Content }}
<p><a href="{{ .Params.eventURL }}" class='event-link u-url'>Learn more about {{ .Title }}.</a></p>
{{ partial "fund-us.html" . }}
{{ end }}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment