culinary.kemonine.info/themes/gochowdown/layouts/posts/list.html
2022-12-03 10:27:03 -05:00

22 lines
728 B
HTML

{{ define "title" }}
{{ .Title }} · {{ .Site.Title }}
{{ end }}
{{ define "content" }}
<section class="container list">
<h1 class="title">{{ .Title }}</h1>
{{ range $i, $page := .Paginator.Pages }}
{{ if $i }}<hr/> {{ end }}
<div class="pure-g flex-center">
<div class="pure-u-1 pure-u-sm-2-3">
<h3 class="post-list-title"><a href="{{ $page.Permalink }}">{{ $page.Title }}</a></h3>
</div>
<div class="pure-u-1 pure-u-sm-1-3 post-right">
<p>{{ $page.Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</p>
</div>
</div>
<p>{{ $page.Summary }}</p>
{{ end }}
{{ partial "pagination.html" . }}
</section>
{{ end }}