blob: a79f119f1377ad3ca90e95f4aed89f8e11adf85c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
mixin bubble(time, user)
-
let classes = {
'o-bubble': true,
't-raised': true
}
if (attributes.class) {
classes[attributes.class] = true
}
article(class=classes)
if user
header.o-bubble__user
strong= user
span.s-colored-links
block
small.o-bubble__time
= time
if attributes.scope
= ' '
+icon(attributes.scope)
|