19 lines
572 B
HTML
19 lines
572 B
HTML
{{ partial "header.html" . }}
|
|
|
|
<div class="posts">
|
|
{{ range (where .Data.Pages "Section" "posts") }}
|
|
<article id="{{ .Slug }}">
|
|
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
|
<p>
|
|
<time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January 2006" }}</time>
|
|
{{ if .Description }}
|
|
—
|
|
{{ .Description | safeHTML }}
|
|
{{ end }}
|
|
</p>
|
|
</article>
|
|
{{ end }}
|
|
</div>
|
|
|
|
{{ partial "footer.html" . }}
|