1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/mipilin synced 2025-01-31 02:53:36 +00:00
mipilin/views/_feed.pug
roxwize 7b563f5c31
i dont really know what i added
Signed-off-by: roxwize <rae@roxwize.xyz>
2024-11-17 14:16:27 -05:00

14 lines
373 B
Text

mixin feed(feed, hideUser)
if feed.length > 0
#feed
for update of feed
.feed-update
div
a(href=`/users/${update.user}`)
if !hideUser
| #{update.user}
strong= update.mood
div= update.desc || "[no mood description provided]"
div= update.date
else
span [no updates]