Skip to content

Commit

Permalink
refactor: relLangURL no longer required in paginator
Browse files Browse the repository at this point in the history
  • Loading branch information
gcushen committed Feb 7, 2019
1 parent f40c63d commit 8a3f758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<nav>
<ul class="pagination justify-content-center">
{{ if .Paginator.HasPrev }}
<li class="page-item"><a class="page-link" href="{{ .Paginator.Prev.URL | relLangURL }}">&laquo;</a></li>
<li class="page-item"><a class="page-link" href="{{ .Paginator.Prev.URL }}">&laquo;</a></li>
{{ end }}
{{ if .Paginator.HasNext }}
<li class="page-item"><a class="page-link" href="{{ .Paginator.Next.URL | relLangURL }}">&raquo;</a></li>
<li class="page-item"><a class="page-link" href="{{ .Paginator.Next.URL }}">&raquo;</a></li>
{{ end }}
</ul>
</nav>
Expand Down

0 comments on commit 8a3f758

Please sign in to comment.