Last active
October 25, 2015 13:41
-
-
Save Taova/95b673bb880503380d4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mixin nav(className, items, activeInd) | |
nav(class=className) | |
ul(class=className + "__lyst") | |
each item, indx in items | |
li(class=className + "__item"+((activeInd==indx) ? className +"__item"+"active": "")) | |
a(href="#" class=className + "__link")= item | |
//+nav("minor", ["Планшеты", "Мобильные телефоны", "Мр3 плееры", "Персональные компьютеры"], 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment