removed index items from nag
This commit is contained in:
parent
1577d2c698
commit
b084b3a434
|
@ -28,6 +28,7 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav
|
|||
ul(class="side-nav-secondary #{ordered}")
|
||||
|
||||
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]]._data
|
||||
if slug != "index"
|
||||
name = page.menuTitle || page.title
|
||||
selected = current.path[4] == slug ? 'is-selected':''
|
||||
num = (listType == "ordered") ? number++ : ''
|
||||
|
|
Loading…
Reference in New Issue