summaryrefslogtreecommitdiffstats
path: root/tpl/objects/emoji.pug
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/objects/emoji.pug')
-rw-r--r--tpl/objects/emoji.pug9
1 files changed, 7 insertions, 2 deletions
diff --git a/tpl/objects/emoji.pug b/tpl/objects/emoji.pug
index 3509112..af56c7a 100644
--- a/tpl/objects/emoji.pug
+++ b/tpl/objects/emoji.pug
@@ -11,6 +11,11 @@ mixin emoji(id)
11 classes['o-emoji--' + attributes.size] = true; 11 classes['o-emoji--' + attributes.size] = true;
12 } 12 }
13 13
14 src = id + '.png' 14 if (!attributes.unicode) {
15 src = id + '.png'
16 }
15 17
16 img(src=src, class=classes) 18 if !attributes.unicode
19 img(src=src, class=classes)
20 else
21 span(class=classes)= id