notify.moe/elements/ThreadLink.pixy

13 lines
431 B
Plaintext

component ThreadLink(thread *arn.Thread)
.thread-link.mountable(data-sticky=thread.Sticky)
.post-author.thread-author
Avatar(thread.Creator())
.thread-content-container
.thread-content
if thread.Sticky != 0
Icon("thumb-tack")
a.thread-link-title(href="/thread/" + thread.ID)= thread.Title
.spacer
.thread-reply-count= len(thread.PostIDs)
.thread-icons
Icon(arn.GetForumIcon(thread.Tags[0]))