summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/badge.pug8
1 files changed, 6 insertions, 2 deletions
diff --git a/tpl/objects/badge.pug b/tpl/objects/badge.pug
index 53e972c..04fd8eb 100644
--- a/tpl/objects/badge.pug
+++ b/tpl/objects/badge.pug
@@ -12,5 +12,9 @@ mixin badge(variant)
12 classes['o-badge--' + variant] = true 12 classes['o-badge--' + variant] = true
13 } 13 }
14 14
15 a(href="#", class=classes) 15 if attributes.href
16 block 16 a(href=attributes.href class=classes)
17 block
18 else
19 span(class=classes)
20 block