hugo-coder-fork/layouts/posts/list.html

17 lines
331 B
HTML
Raw Permalink Normal View History

{{ define "title" }}
{{ .Title }} · {{ .Site.Title }}
{{ end }}
{{ define "content" }}
<section class="container list">
<h1 class="title">{{ .Title }}</h1>
<ul>
{{- range .Paginator.Pages -}}
{{- .Render "li" -}}
{{- end -}}
</ul>
{{ partial "pagination.html" . }}
</section>
{{ end }}