htanjo / kss-node-template

Stylish template for kss-node.
http://htanjo.github.io/kss-node-template/
MIT License
62 stars 28 forks source link

kss-menu-child UL empty when there should be child links #5

Closed jamesjacobs closed 9 years ago

jamesjacobs commented 9 years ago

Despite having the proper comments (// Styleguide 1, // Styleguide 1.1 etc), the kss-child-menu UL is always empty and therefore the menu appear broken.

Generated UL markup is as follows:

I'm using kss-node, via grunt-kss.

jamesjacobs commented 9 years ago

Managed to solve this by changing #ifDepth to #whenDepth.

mattgreenfield commented 9 years ago

Thanks for this @jamesjacobs , all the documentation I could find was saying #ifDepth and it just wasn't working.

I'm wondering if its something to do with grunt-kss working differently as I am also using grunt-kss.