Fix unintentional render of empty box

This commit is contained in:
undergroundwires 2022-01-01 17:47:29 +01:00
parent 848b6879b3
commit 16a63581d2

View file

@ -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 }}