mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 08:15:44 +00:00
Make pagination language independent
This commit is contained in:
1 parent
e6d4bd3e5f
commit
690ed4d314
1 file changed
+2
-2
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user