This commit is contained in:
Alex Wolfe 2015-04-15 08:15:51 -07:00
parent 71a6c3b99b
commit 90d4c0f015
1 changed files with 14 additions and 11 deletions

View File

@ -14,6 +14,9 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav
li(class="#{selected}") <a href="/docs/#{current.path[1]}/#{current.path[2]}/#{slug}.html" md-button><span class="side-nav-icon icon-#{page.icon}"></span> #{name}</a>
if selected
sectionThree = public.docs[current.path[1]][current.path[2]][current.path[3]]
if sectionThree
ul.side-nav-secondary
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]]._data
name = page.menuTitle || page.title