19 lines
563 B
Plaintext
Raw Normal View History

component Forum(tag string, threads []*arn.Thread)
h2.forum-header Forum
ForumTags
2016-11-18 17:58:00 +00:00
each thread in threads
ThreadLink(thread)
component ThreadLink(thread *arn.Thread)
2016-11-19 08:49:00 +00:00
.thread-link(data-sticky=thread.Sticky)
2016-11-18 17:58:00 +00:00
.post-author.thread-author
Avatar(thread.Author())
2016-11-18 17:58:00 +00:00
.thread-content-container
.post-content.thread-content
if thread.Sticky
i.fa.fa-thumb-tack.fa-fw.thread-icon
a.thread-title.ajax(href="/threads/" + thread.ID)= thread.Title
2016-11-19 19:07:10 +00:00
.thread-reply-count= thread.Replies
.thread-icons
Icon(arn.GetForumIcon(thread.Tags[0]))