Initial commit
This commit is contained in:
commit
1f637ed41e
33 changed files with 832 additions and 0 deletions
9
themes/er/layouts/partials/pagination.html
Normal file
9
themes/er/layouts/partials/pagination.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{ if gt .Paginator.TotalPages 1 }}
|
||||
<div class="pagination tc db fixed-l bottom-2-l right-2-l mb3 mb0-l">
|
||||
{{ partial "back-to-top.html" . }}<br>
|
||||
<p class="mb0 mt2">Page {{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }} <br>
|
||||
{{ if .Paginator.HasNext }}<a href="{{ .Paginator.Next.URL | relURL }}">Older Posts</a>{{ end }}
|
||||
{{ if .Paginator.HasPrev }}<a href="{{ .Paginator.Prev.URL | relURL }}">Newer Posts</a>{{ end }}
|
||||
</p>
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue