diff options
author | Djordje Atlialp <djordje@atlialp.com> | 2022-02-05 01:00:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-05 01:00:28 +0300 |
commit | 697194e122e4213d31404abdb67180464336d4ca (patch) | |
tree | 7cc8f904c187774186b02d3e2e7818bdc31d1550 | |
parent | ee717354fd5ed077ad34388ae74cabedd7e25e81 (diff) | |
parent | 16a63581d214bf4df16f2587cba877db0bfc003c (diff) |
Merge pull request #357 from undergroundwires/fixemptytitle
Fix unintentional render of empty box
-rw-r--r-- | layouts/partials/pagination-single.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/pagination-single.html b/layouts/partials/pagination-single.html index 6c06e88..cee73b2 100644 --- a/layouts/partials/pagination-single.html +++ b/layouts/partials/pagination-single.html @@ -1,9 +1,11 @@ {{ if and (not $.Site.Params.DisableReadOtherPosts) (or .NextInSection .PrevInSection) }} <div class="pagination"> + {{ if .Site.Params.ReadOtherPosts }} <div class="pagination__title"> <span class="pagination__title-h">{{ .Site.Params.ReadOtherPosts }}</span> <hr /> </div> + {{ end }} <div class="pagination__buttons"> {{ if .NextInSection }} |