From ea7ab4f676ef1684b0db3815544b2bdccc37f1a2 Mon Sep 17 00:00:00 2001 From: Tom Picton Date: Sat, 10 Feb 2018 18:24:16 +0000 Subject: [PATCH] Fix hidden posts appearing in blog navigation --- _layouts/post.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 0415e20b4..3b643d261 100755 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -25,12 +25,12 @@

{{ page.title }}

{% if site.post-advance-links contains page.category %}
- {% if page.previous.url %} + {% if page.previous.hidden == false and page.previous.url %} {% else %} {% endif %} - {% if page.next.url %} + {% if page.next.hidden == false and page.next.url %} {% endif %}