summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/badge.pug12
1 files changed, 10 insertions, 2 deletions
diff --git a/tpl/objects/badge.pug b/tpl/objects/badge.pug
index 500f062..c91e74f 100644
--- a/tpl/objects/badge.pug
+++ b/tpl/objects/badge.pug
@@ -15,7 +15,15 @@ mixin badge(variant)
15 15
16 if attributes.href 16 if attributes.href
17 a(href=attributes.href class=classes) 17 a(href=attributes.href class=classes)
18 block 18 if attributes.icon
19 +icon(attributes.icon)
20 = ' '
21 span.o-badge__label
22 block
19 else 23 else
20 span(class=classes) 24 span(class=classes)
21 block 25 if attributes.icon
26 +icon(attributes.icon)
27 = ' '
28 span.o-badge__label
29 block