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}")
|
ul(class="side-nav-secondary #{ordered}")
|
||||||
|
|
||||||
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]]._data
|
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]]._data
|
||||||
name = page.menuTitle || page.title
|
if slug != "index"
|
||||||
selected = current.path[4] == slug ? 'is-selected':''
|
name = page.menuTitle || page.title
|
||||||
num = (listType == "ordered") ? number++ : ''
|
selected = current.path[4] == slug ? 'is-selected':''
|
||||||
|
num = (listType == "ordered") ? number++ : ''
|
||||||
|
|
||||||
if slug != "_listtype"
|
if slug != "_listtype"
|
||||||
if num
|
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>
|
li(class="#{selected}") <a href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{slug}.html" md-button>#{num}. #{page.title}</a>
|
||||||
|
|
||||||
else
|
else
|
||||||
li(class="#{selected}") <a href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{slug}.html" md-button>#{page.title}</a>
|
li(class="#{selected}") <a href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{slug}.html" md-button>#{page.title}</a>
|
||||||
|
|
||||||
|
|
||||||
// TERTIARY NAVIGATION
|
// TERTIARY NAVIGATION
|
||||||
|
|
Loading…
Reference in New Issue