first commit
This commit is contained in:
commit
13e2fd6e74
125 changed files with 19943 additions and 0 deletions
26
layouts/partials/paging.html
Executable file
26
layouts/partials/paging.html
Executable file
|
@ -0,0 +1,26 @@
|
|||
<div class="wrapper">
|
||||
<div class="units-row">
|
||||
<div class="unit-centered unit-40">
|
||||
<ul class="pagination">
|
||||
|
||||
{{ if .Paginator.HasNext }}
|
||||
<li><a href="{{.Paginator.Next.URL}}">
|
||||
« Older
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
<li><span>Page {{.Paginator.PageNumber}} of {{.Paginator.TotalPages}}</span></li>
|
||||
{{ if .Paginator.HasPrev }}
|
||||
<li>
|
||||
<a href="{{.Paginator.Prev.URL}}">
|
||||
Newer »
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
{{ partial "allcats.html" . }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue