Commit 96569dea authored by Jamie Tanna's avatar Jamie Tanna

Don't paginate taxonomy terms

It doesn't make much sense to paginate the list of taxonomy terms,
although there are quite a few of them, as it then means that a user
has to flip through many pages just to find a term they're interested
in.

As part of jvt.me#431.
parent 16bbca78
......@@ -3,22 +3,11 @@
<h1>{{ .Title }}</h1>
<div class="catalogue">
<ul>
{{- range (.Paginate .Data.Pages).Pages -}}
{{- range .Data.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">&#8592;</a>
{{- end -}}
{{- if .Paginator.HasNext -}}
<a href="{{ .Paginator.Next.URL }}" class="right arrow">&#8594;</a>
{{- end -}}
<span>{{ .Paginator.PageNumber }}</span>
</div>
</main>
{{ end }}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment