summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-01-28 17:19:24 +0100
committerVolpeon <git@volpeon.ink>2023-01-28 17:19:24 +0100
commit55766016d327b4ac7b4e9dff457f1b4589ea753f (patch)
tree3a637748774736b164b282ebeddd64f32d7ad0c3 /tpl/objects
parentBetter unicode emoji (diff)
downloadiro-design-55766016d327b4ac7b4e9dff457f1b4589ea753f.tar.gz
iro-design-55766016d327b4ac7b4e9dff457f1b4589ea753f.tar.bz2
iro-design-55766016d327b4ac7b4e9dff457f1b4589ea753f.zip
nvm, non-image emojis are a pain
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/emoji.pug9
1 files changed, 1 insertions, 8 deletions
diff --git a/tpl/objects/emoji.pug b/tpl/objects/emoji.pug
index af56c7a..af65028 100644
--- a/tpl/objects/emoji.pug
+++ b/tpl/objects/emoji.pug
@@ -11,11 +11,4 @@ mixin emoji(id)
11 classes['o-emoji--' + attributes.size] = true; 11 classes['o-emoji--' + attributes.size] = true;
12 } 12 }
13 13
14 if (!attributes.unicode) { 14 img(src=id + '.png', class=classes)
15 src = id + '.png'
16 }
17
18 if !attributes.unicode
19 img(src=src, class=classes)
20 else
21 span(class=classes)= id