lorescape/layouts/_default/list.html

11 lines
362 B
HTML

{{ define "main" -}}
<main class="main layout__main">
<h1 class="title">{{ .Title }}</h1>
{{ $paginator := .Paginate (.Pages) -}}
{{ range $paginator.Pages -}}
<h2 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
{{ end -}}
{{ partial "pagination.html" . }}
</main>
{{ end }}