mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-05 17:15:04 -05:00
17 lines
542 B
Plaintext
17 lines
542 B
Plaintext
- var messageClasses = message.classList
|
|
if hasParent
|
|
- messageClasses += ' first'
|
|
|
|
.message(id='chat'+message.cid, class=messageClasses)
|
|
.date(title=messageDate.format('{Dow}, {MM}/{dd}/{yyyy} - {h}:{mm} {Tt}')) #{messageDate.format('{h}:{mm} {tt}')}
|
|
p.body !{message.processedBody}
|
|
- var urls = message.urls
|
|
section.embeds
|
|
each item in urls
|
|
if item.source == 'body'
|
|
section.embed.hidden
|
|
a.source(href=item.href)= item.desc
|
|
else
|
|
section.embed
|
|
a.source(href=item.href)= item.desc
|