summaryrefslogtreecommitdiffstats
path: root/tpl/objects/icon.pug
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/objects/icon.pug')
-rw-r--r--tpl/objects/icon.pug3
1 files changed, 2 insertions, 1 deletions
diff --git a/tpl/objects/icon.pug b/tpl/objects/icon.pug
index 494abf6..1ed6052 100644
--- a/tpl/objects/icon.pug
+++ b/tpl/objects/icon.pug
@@ -2,7 +2,8 @@ mixin icon(id)
2 - 2 -
3 let href = 'icons.svg#' + id 3 let href = 'icons.svg#' + id
4 let classes = { 4 let classes = {
5 'o-icon': true 5 'o-icon': true,
6 'o-icon--block': attributes.block,
6 } 7 }
7 if (attributes.class) { 8 if (attributes.class) {
8 classes[attributes.class] = true; 9 classes[attributes.class] = true;