diff options
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/menu.pug | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tpl/objects/menu.pug b/tpl/objects/menu.pug index 52cbe5e..1dd38ef 100644 --- a/tpl/objects/menu.pug +++ b/tpl/objects/menu.pug | |||
@@ -17,10 +17,11 @@ mixin menu | |||
17 | mixin menu-item | 17 | mixin menu-item |
18 | - | 18 | - |
19 | let classes = { | 19 | let classes = { |
20 | 'o-menu__item': true, | 20 | 'o-menu__item': true, |
21 | 'l-media': true, | 21 | 'l-media': true, |
22 | 'l-media--75': true, | 22 | 'l-media--75': true, |
23 | 'is-selected': attributes.selected, | 23 | 'o-menu__header': attributes.header, |
24 | 'is-selected': attributes.selected, | ||
24 | } | 25 | } |
25 | if (attributes.class) { | 26 | if (attributes.class) { |
26 | classes[attributes.class] = true; | 27 | classes[attributes.class] = true; |