diff options
author | Dmitry Kolosov <Mitrichius@users.noreply.github.com> | 2021-08-24 21:22:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 21:22:04 +0300 |
commit | 9ca723f576b3a857977990fdb94b3e5fd7b2b001 (patch) | |
tree | b74c0c65824f390eb5dfe5eb3acb8b3655b0afd7 | |
parent | 5dab60e04a37896c09a32137aefe821c63b3af04 (diff) | |
parent | 7cb4583894302ba7dae4f7eba09188fa32788772 (diff) |
Merge pull request #96 from iakunin/issue-95
Fixing broken pagination links on the post page
-rw-r--r-- | layouts/partials/post-pagination.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/post-pagination.html b/layouts/partials/post-pagination.html index 92582d3..2130181 100644 --- a/layouts/partials/post-pagination.html +++ b/layouts/partials/post-pagination.html @@ -2,12 +2,12 @@ <div class="pagination post-pagination"> <div class="left pagination-item {{ if not .NextInSection }}disabled{{ end }}"> {{ if .NextInSection }} - <a href="{{ .NextInSection.Permalink | relLangURL }}">{{ .NextInSection.Title }}</a> + <a href="{{ .NextInSection.RelPermalink }}">{{ .NextInSection.Title }}</a> {{ end }} </div> <div class="right pagination-item {{ if not .PrevInSection }}disabled{{ end }}"> {{ if .PrevInSection }} - <a href="{{ .PrevInSection.Permalink | relLangURL }}">{{ .PrevInSection.Title }}</a> + <a href="{{ .PrevInSection.RelPermalink }}">{{ .PrevInSection.Title }}</a> {{ end }} </div> </div> |