diff options
author | Gregas Maximus <gregasmaximus@gmail.com> | 2017-01-21 07:21:47 +0300 |
---|---|---|
committer | Gregas Maximus <gregasmaximus@gmail.com> | 2017-01-21 07:21:47 +0300 |
commit | 3d04e6d06d33e71c2263e20252b2b83cfac64ff6 (patch) | |
tree | acaf0448e19d3e51bd82b1aae47d65a49059ed0d /layouts | |
parent | f227e6698c87fa19190f749c03a0b8aa931467eb (diff) |
Enable suppression of prev/next links
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/prev_next_post.html | 2 |
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"> |