18 lines
462 B
HTML
18 lines
462 B
HTML
|
{{ define "main" }}
|
||
|
{{ $paginator := .Paginate (where .Pages "Params.hidden" "ne" true) }}
|
||
|
{{ range sort .Paginator.Pages }}
|
||
|
<article>
|
||
|
<h2>
|
||
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||
|
</h2>
|
||
|
<h5>{{ .Date.Format "January 2, 2006" }}</h5>
|
||
|
<p>
|
||
|
{{ .Summary }}
|
||
|
{{ if .Truncated }}
|
||
|
<a href="{{ .Permalink }}">...</a>
|
||
|
{{ end }}
|
||
|
</p>
|
||
|
</article>
|
||
|
{{ end }}
|
||
|
{{ template "_internal/pagination.html" . }}
|
||
|
{{ end }}
|