Styling, edits
This commit is contained in:
@ -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}}
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user