removed index items from nag
This commit is contained in:
parent
1577d2c698
commit
b084b3a434
|
@ -28,16 +28,17 @@ 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
|
||||
name = page.menuTitle || page.title
|
||||
selected = current.path[4] == slug ? 'is-selected':''
|
||||
num = (listType == "ordered") ? number++ : ''
|
||||
if slug != "index"
|
||||
name = page.menuTitle || page.title
|
||||
selected = current.path[4] == slug ? 'is-selected':''
|
||||
num = (listType == "ordered") ? number++ : ''
|
||||
|
||||
if slug != "_listtype"
|
||||
if num
|
||||
li(class="#{selected}") <a href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{slug}.html" md-button>#{num}. #{page.title}</a>
|
||||
if slug != "_listtype"
|
||||
if num
|
||||
li(class="#{selected}") <a href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{slug}.html" md-button>#{num}. #{page.title}</a>
|
||||
|
||||
else
|
||||
li(class="#{selected}") <a href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{slug}.html" md-button>#{page.title}</a>
|
||||
else
|
||||
li(class="#{selected}") <a href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{slug}.html" md-button>#{page.title}</a>
|
||||
|
||||
|
||||
// TERTIARY NAVIGATION
|
||||
|
|
Loading…
Reference in New Issue