spearhead-statuskit/site/layouts/section/incidents.html
David Calavera 38a75244ae
Simplify date format keeping timezone information.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-11-21 17:42:14 -08:00

19 lines
395 B
HTML

{{ partial "header" . }}
<div class="incidents">
{{ range (.Paginate .Data.Pages.ByPublishDate 15 ).Pages }}
<div class="incident-summary">
<a href="{{ .Permalink }}" class="article article-title">
{{ .Title }}
</a>
<span class="article-date">
{{ dateFormat "02 Jan 2006 15:04 MST" .Date }}
</span>
</div>
{{ end }}
{{ partial "paginator" . }}
</div>
{{ partial "footer" . }}