summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/navbar.pug12
1 files changed, 9 insertions, 3 deletions
diff --git a/tpl/objects/navbar.pug b/tpl/objects/navbar.pug
index 14ec9d3..28c7107 100644
--- a/tpl/objects/navbar.pug
+++ b/tpl/objects/navbar.pug
@@ -26,12 +26,18 @@ mixin navbar-item
26 } 26 }
27 27
28 #{!!attributes.tag ? attributes.tag : 'button'}(class=classes)&attributes(attributes) 28 #{!!attributes.tag ? attributes.tag : 'button'}(class=classes)&attributes(attributes)
29 if attributes.icon
30 .o-navbar__item-label
31 block
29 .o-navbar__item-content 32 .o-navbar__item-content
33 if attributes.preIcon
34 +icon(attributes.preIcon)
35 = ' '
30 if attributes.icon 36 if attributes.icon
31 +icon(attributes.icon) 37 +icon(attributes.icon)
32 = ' ' 38 else
33 span.o-navbar__item-content-text 39 span.o-navbar__item-content-text
34 block 40 block
35 if attributes.postIcon 41 if attributes.postIcon
36 = ' ' 42 = ' '
37 +icon(attributes.postIcon) 43 +icon(attributes.postIcon)