Merge pull request #357 from undergroundwires/fixemptytitle

Fix unintentional render of empty box
This commit is contained in:
Djordje Atlialp 2022-02-04 23:00:28 +01:00 committed by GitHub
commit 697194e122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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