From 55766016d327b4ac7b4e9dff457f1b4589ea753f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 28 Jan 2023 17:19:24 +0100 Subject: nvm, non-image emojis are a pain --- tpl/objects/emoji.pug | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'tpl/objects/emoji.pug') 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) classes['o-emoji--' + attributes.size] = true; } - if (!attributes.unicode) { - src = id + '.png' - } - - if !attributes.unicode - img(src=src, class=classes) - else - span(class=classes)= id + img(src=id + '.png', class=classes) -- cgit v1.2.3-54-g00ecf