angular-docs-cn/public/docs/js/latest/api/pipes.jade

6 lines
369 B
Plaintext
Raw Normal View History

2015-04-14 11:11:02 -04:00
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title
selected = current.path[4] == slug ? 'is-selected':''
2015-04-21 17:58:07 -04:00
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button> #{page.title}</a>