From 746f4857a658804a55b5bdf443c9c7de01d2be38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesu=CC=81s=20Rodri=CC=81guez?= Date: Thu, 4 Aug 2016 16:58:58 +0200 Subject: [PATCH] chore: update next-item for hidden --- public/_includes/_next-item.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/_includes/_next-item.jade b/public/_includes/_next-item.jade index c4626a453f..55ab4b448f 100644 --- a/public/_includes/_next-item.jade +++ b/public/_includes/_next-item.jade @@ -6,7 +6,7 @@ for page, slug in data // CHECK IF CURRENT PAGE IS SET, THEN SET NEXT PAGE if currentPage - if !nextPage && page.nextable + if !nextPage && page.nextable && !page.hide .l-sub-section h3 Next Step a(href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{slug}.html") #{page.title} @@ -16,4 +16,4 @@ for page, slug in data // SET CURRENT PAGE FLAG WHEN YOU PASS IT if current.path[4] == slug - - var currentPage = true \ No newline at end of file + - var currentPage = true