diff options
Diffstat (limited to 'tpl/objects')
| -rw-r--r-- | tpl/objects/navbar.pug | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tpl/objects/navbar.pug b/tpl/objects/navbar.pug index bca8c90..5c7642c 100644 --- a/tpl/objects/navbar.pug +++ b/tpl/objects/navbar.pug | |||
| @@ -26,5 +26,12 @@ 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 | .o-navbar__item-label | 29 | .o-navbar__item-content |
| 30 | block | 30 | if attributes.icon |
| 31 | +icon(attributes.icon) | ||
| 32 | = ' ' | ||
| 33 | span.o-navbar__item-content-text | ||
| 34 | block | ||
| 35 | if attributes.postIcon | ||
| 36 | = ' ' | ||
| 37 | +icon(attributes.postIcon) | ||
