Styling, edits

This commit is contained in:
Madison Scott-Clary
2021-09-03 18:04:33 -07:00
parent e59d368f59
commit 6933f33475

View File

@ -3,7 +3,7 @@
<nav class="paginator" aria-label="page">
<ul class="pagination pagination-sm">
<li class="page-item{{ if not $paginator.HasPrev }} disabled{{ end }}">
<a class="page-link"{{ if $paginator.HasPrev }} href="{{ $paginator.Prev.URL }}"{{ end }}><svg width="20" height="16"><path fill="none" stroke="currentColor" stroke-width="3" d="M 20 0 l -10 8 l 10 8" stroke="none" fill="currentColor" /><circle cx="19" cy="8" r="2" /></svg></a>
<a class="page-link"{{ if $paginator.HasPrev }} href="{{ $paginator.Prev.URL }}"{{ end }}><svg width="20" height="16"><path fill="none" stroke="currentColor" stroke-width="3" d="M 20 0 l -10 8 l 10 8" /><circle cx="19" cy="8" r="2" stroke="none" fill="currentColor" /></svg></a>
</li>
{{ if lt $paginator.TotalPages 10 }}
{{ range $paginator.Pagers }}