1
0
mirror of https://github.com/Wonderfall/hugo-WonderMod.git synced 2025-04-30 02:26:05 +02:00

list: use absURL for pagination ()

This commit is contained in:
Devorange 2020-12-05 15:42:55 +01:00 committed by GitHub
parent 28abfba27e
commit d4b259cd63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -54,10 +54,10 @@
<footer class="page-footer">
<nav class="pagination">
{{- if $paginator.HasPrev }}
<a class="prev" href="{{ $paginator.Prev.URL }}">« {{ i18n "prev_page" }}</a>
<a class="prev" href="{{ $paginator.Prev.URL | absURL }}">« {{ i18n "prev_page" }}</a>
{{- end }}
{{- if $paginator.HasNext }}
<a class="next" href="{{ $paginator.Next.URL }}">{{ i18n "next_page" }} »</a>
<a class="next" href="{{ $paginator.Next.URL | absURL }}">{{ i18n "next_page" }} »</a>
{{- end }}
</nav>
</footer>