Styling, edits

This commit is contained in:
Madison Scott-Clary
2021-09-03 17:59:08 -07:00
parent 7b0e7d6ae9
commit 238f3b6f8a
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<main id="main"> <main id="main">
<h2>Limerent Object</h2> <h2>Limerent Object</h2>
{{ $paginator := .Paginate (.Pages) 1 }} {{ $paginator := .Paginate (.Pages) 1 }}
{{ template "_internal/pagination.html" . }} {{ partial "pagination.html" . }}
{{ range $paginator.Pages }} {{ range $paginator.Pages }}
{{ .Content }} {{ .Content }}
{{end}} {{end}}

View File

@ -15,7 +15,7 @@
<li class="page-item too-many">Entry {{ $paginator.PageNumber }} of {{ $paginator.TotalPages }}</li> <li class="page-item too-many">Entry {{ $paginator.PageNumber }} of {{ $paginator.TotalPages }}</li>
{{ end }} {{ end }}
<li class="page-item{{ if not $paginator.HasNext }} disabled{{ end }}"> <li class="page-item{{ if not $paginator.HasNext }} disabled{{ end }}">
<a class="page-link"{{ if $paginator.HasNext }} href="{{ $paginator.Next.URL }}"{{ end }}><svg width="20" height="16"><path fill="none" stroke="currentColor" stroke-width="3" d="M 0 0 l 10 8 l -10 8" /><circle cx="1" cy="8" r="2" /></svg></a> <a class="page-link"{{ if $paginator.HasNext }} href="{{ $paginator.Next.URL }}"{{ end }}><svg width="20" height="16"><path fill="none" stroke="currentColor" stroke-width="3" d="M 0 0 l 10 8 l -10 8" /><circle cx="1" cy="8" r="2" stroke="currentColor" /></svg></a>
</li> </li>
</ul> </ul>
</nav> </nav>