mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
Make pagination language independent
This commit is contained in:
parent
e6d4bd3e5f
commit
690ed4d314
1 changed files with 2 additions and 2 deletions
|
@ -2,10 +2,10 @@
|
|||
<nav>
|
||||
<ul class="pager">
|
||||
{{ if .Paginator.HasPrev }}
|
||||
<li><a href="{{ .Paginator.Prev.URL | relLangURL }}">« Previous</a></li>
|
||||
<li><a href="{{ .Paginator.Prev.URL | relLangURL }}"><</a></li>
|
||||
{{ end }}
|
||||
{{ if .Paginator.HasNext }}
|
||||
<li><a href="{{ .Paginator.Next.URL | relLangURL }}">Next »</a></li>
|
||||
<li><a href="{{ .Paginator.Next.URL | relLangURL }}">></a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue