diff options
author | undergroundwires <git@undergroundwires.dev> | 2022-01-01 19:47:29 +0300 |
---|---|---|
committer | undergroundwires <git@undergroundwires.dev> | 2022-01-01 19:47:29 +0300 |
commit | 16a63581d214bf4df16f2587cba877db0bfc003c (patch) | |
tree | a35aa7db0c2a885a0a72de5d0e22bf064679e728 | |
parent | 848b6879b3a2a201510bd11dadf37826ee038616 (diff) |
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 }} |