summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/single/next-prev.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/single/next-prev.html b/layouts/partials/single/next-prev.html
index b80e39a..73d48cf 100644
--- a/layouts/partials/single/next-prev.html
+++ b/layouts/partials/single/next-prev.html
@@ -1,4 +1,5 @@
{{- /* Navigation for Next and Previous Post */ -}}
+{{- if ne .Params.excludeFromLists true }}
<nav class="post__navigation" aria-label="{{ lang.Translate "post.navigation" | default "Post navigation" }}">
<ul class="post__navigation-list">
{{- with .PrevInSection }}
@@ -28,3 +29,4 @@
{{- end }}
</ul>
</nav>
+{{- end }}