From b9d3cc1a3a7d07af86570cfa29f11ef47cde00d3 Mon Sep 17 00:00:00 2001 From: Dmitry Kolosov Date: Wed, 3 Jun 2020 23:58:20 +0300 Subject: [PATCH] Fix pagination: relative links instead of absolute --- layouts/partials/pagination.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html index e6bf28b..16f8473 100644 --- a/layouts/partials/pagination.html +++ b/layouts/partials/pagination.html @@ -5,15 +5,15 @@
{{ if .Paginator.HasPrev }} {{ if eq .Paginator.PageNumber 2 }} - {{ $toNewPostsMessage }} + {{ $toNewPostsMessage }} {{ else }} - {{ $toNewPostsMessage }} + {{ $toNewPostsMessage }} {{ end }} {{ end }}
{{ if .Paginator.HasNext }} - {{ $toOldPostsMessage }} + {{ $toOldPostsMessage }} {{ end }}