diff options
Diffstat (limited to 'tpl/objects/button.pug')
-rw-r--r-- | tpl/objects/button.pug | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tpl/objects/button.pug b/tpl/objects/button.pug index 1fa3347..0884c8d 100644 --- a/tpl/objects/button.pug +++ b/tpl/objects/button.pug | |||
@@ -20,4 +20,9 @@ mixin a-button | |||
20 | if attributes.icon | 20 | if attributes.icon |
21 | +icon(attributes.icon) | 21 | +icon(attributes.icon) |
22 | = ' ' | 22 | = ' ' |
23 | block | 23 | if block |
24 | span.o-button__label | ||
25 | block | ||
26 | if attributes.postIcon | ||
27 | = ' ' | ||
28 | +icon(attributes.postIcon) | ||