aboutsummaryrefslogblamecommitdiff
path: root/src/_mixin/menu.pug
blob: 09794c6ca11a162b2adb825e178595795fd7a45a (plain) (tree)
1
2
3
4
5
6
7






                                        
mixin menu(o)
  ul
    each val in o.children
      - if (val.type == 'folder')
        li
          a(href=val.url)= val.nice_name
        +menu(val)