blob: 5bf3a3baeffeeb66871767a6b67a89f533045c3b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
mixin emoji(id)
-
let classes = {
'o-emoji': true,
'o-emoji--zoomable': attributes.zoomable,
}
if (attributes.class) {
classes[attributes.class] = true;
}
src = id + '.png'
img(src=src, class=classes)
|