chore: update next-item for hidden

closes #2032
This commit is contained in:
Jesús Rodríguez 2016-08-04 16:58:58 +02:00 committed by Ward Bell
parent 28174673fe
commit 22a3704947
1 changed files with 2 additions and 2 deletions

View File

@ -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}