initial commit
This commit is contained in:
commit
f92932b947
44 changed files with 851 additions and 0 deletions
13
layouts/partials/pagination.html
Normal file
13
layouts/partials/pagination.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<div class="pagination">
|
||||
{{ if .Paginator.HasPrev }}
|
||||
<a href="{{ .Paginator.Prev.URL }}">« Newer</a>
|
||||
{{ end }}
|
||||
|
||||
{{ if and .Paginator.HasNext .Paginator.HasPrev }}
|
||||
<span>|</span>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Paginator.HasNext }}
|
||||
<a href="{{ .Paginator.Next.URL }}">Older »</a>
|
||||
{{ end }}
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue