Add separator between Prev and Next links
This commit is contained in:
parent
8de93c50d2
commit
a2349050d0
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
|||
{{if ge .PrevPage 0}}
|
||||
<a href="?page={{.PrevPage}}">Prev</a>
|
||||
{{end}}
|
||||
{{if and (ge .PrevPage 0) (ge .NextPage 0)}}·{{end}}
|
||||
{{if ge .NextPage 0}}
|
||||
<a href="?page={{.NextPage}}">Next</a>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in a new issue