lorescape/layouts/_default/list.html

11 lines
362 B
HTML
Raw Normal View History

2020-10-14 21:31:14 +00:00
{{ define "main" -}}
<main class="main layout__main">
<h1 class="title">{{ .Title }}</h1>
{{ $paginator := .Paginate (.Pages) -}}
{{ range $paginator.Pages -}}
2020-10-15 03:09:41 +00:00
<h2 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
2020-10-15 00:22:54 +00:00
{{ end -}}
2020-10-14 21:31:14 +00:00
{{ partial "pagination.html" . }}
</main>
{{ end }}