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

github.com/funkydan2/hugo-kiera.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wellner Bou <paul@wellnerbou.de>2021-11-13 12:09:10 +0300
committerPaul Wellner Bou <paul@wellnerbou.de>2021-11-13 12:09:10 +0300
commit2cf582e863f613946e4edb809415588620f598bf (patch)
tree7f6f30c9ef4fabdf59d20a415f06b327bd8deb11
parent387d7d7bb75de9d4a25ee127423e65ed2629edc4 (diff)
Align link to next post to the right, even if there is no previous
-rw-r--r--layouts/partials/single_footer.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/single_footer.html b/layouts/partials/single_footer.html
index 552d581..000dbd8 100644
--- a/layouts/partials/single_footer.html
+++ b/layouts/partials/single_footer.html
@@ -1,16 +1,16 @@
{{ if not .Params.meta }}
<section class="post-nav">
<ul>
- {{ with .PrevInSection }}
<li>
+ {{ with .PrevInSection }}
<a href="{{.Permalink}}"><i class="fa fa-chevron-circle-left"></i> {{ .Title }}</a>
- </li>
{{ end }}
- {{ with .NextInSection }}
+ </li>
<li>
+ {{ with .NextInSection }}
<a href="{{.Permalink}}">{{ .Title }} <i class="fa fa-chevron-circle-right"></i> </a>
- </li>
{{ end }}
+ </li>
</ul>
</section>
{{ if not .Params.disableComments }}