kollektivforeningen.dk/layouts/calendar/index.html
2020-04-04 18:55:55 +02:00

16 lines
394 B
HTML

{{- define "main" -}}
<h1>Kalender</h1>
<section>
<ul class=posts_listing>
{{ range first 5 (where .Pages "Section" "calendar") }}
<li>
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<div id=date>
<time>{{ .Date.Format (.Site.Params.dateform | default "January 2006") }}</time>
</div>
</li>
{{ end }}
</ul>
</section>
{{- end -}}