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:
authorDjordje Atlialp <djordje@atlialp.com>2022-02-05 01:00:28 +0300
committerGitHub <noreply@github.com>2022-02-05 01:00:28 +0300
commit697194e122e4213d31404abdb67180464336d4ca (patch)
tree7cc8f904c187774186b02d3e2e7818bdc31d1550
parentee717354fd5ed077ad34388ae74cabedd7e25e81 (diff)
parent16a63581d214bf4df16f2587cba877db0bfc003c (diff)
Merge pull request #357 from undergroundwires/fixemptytitle
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 }}