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

gitlab.com/toryanderson/hugo-icarus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregas Maximus <gregasmaximus@gmail.com>2017-01-21 07:21:47 +0300
committerGregas Maximus <gregasmaximus@gmail.com>2017-01-21 07:21:47 +0300
commit3d04e6d06d33e71c2263e20252b2b83cfac64ff6 (patch)
treeacaf0448e19d3e51bd82b1aae47d65a49059ed0d /layouts
parentf227e6698c87fa19190f749c03a0b8aa931467eb (diff)
Enable suppression of prev/next links
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/prev_next_post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/prev_next_post.html b/layouts/partials/prev_next_post.html
index d5f71f9..610ee4c 100644
--- a/layouts/partials/prev_next_post.html
+++ b/layouts/partials/prev_next_post.html
@@ -1,4 +1,4 @@
-{{ if or .PrevInSection .NextInSection }}
+{{ if and (or .PrevInSection .NextInSection) (not .Params.noprevnext) }}
<nav id="article-nav">
{{ if .PrevInSection }}
<a href="{{ .PrevInSection.Permalink }}" id="article-nav-older" class="article-nav-link-wrap">