Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rhazdon/hugo-theme-hello-friend-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorundergroundwires <git@undergroundwires.dev>2022-01-01 19:47:29 +0300
committerundergroundwires <git@undergroundwires.dev>2022-01-01 19:47:29 +0300
commit16a63581d214bf4df16f2587cba877db0bfc003c (patch)
treea35aa7db0c2a885a0a72de5d0e22bf064679e728
parent848b6879b3a2a201510bd11dadf37826ee038616 (diff)
Fix unintentional render of empty box
-rw-r--r--layouts/partials/pagination-single.html2
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 }}