26 lines
612 B
HTML
26 lines
612 B
HTML
{{ define "main" }}
|
|
<main>
|
|
<h1>{{ .Title }}</h1>
|
|
<strong>Mis terms</strong>
|
|
<div class="catalogue">
|
|
<ul>
|
|
{{- range (.Paginate .Data.Pages).Pages -}}
|
|
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
|
{{- end -}}
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="pagination">
|
|
{{- if .Paginator.HasPrev -}}
|
|
<a href="{{ .Paginator.Prev.URL }}" class="left arrow">←</a>
|
|
{{- end -}}
|
|
{{- if .Paginator.HasNext -}}
|
|
<a href="{{ .Paginator.Next.URL }}" class="right arrow">→</a>
|
|
{{- end -}}
|
|
|
|
<span>{{ .Paginator.PageNumber }}</span>
|
|
</div>
|
|
</main>
|
|
|
|
{{ end }}
|