15 lines
319 B
Plaintext
Raw Normal View History

2017-06-20 14:19:43 +00:00
component Forum(tag string, threads []*arn.Thread, threadsPerPage int)
2017-06-07 23:14:45 +00:00
h2.page-title Forum
ForumTags
2017-06-20 13:46:49 +00:00
.forum
ThreadList(threads)
2017-06-20 14:19:43 +00:00
if len(threads) == threadsPerPage
.buttons
button
Icon("refresh")
span Load more
2017-06-08 12:46:38 +00:00
component ThreadList(threads []*arn.Thread)
2016-11-18 17:58:00 +00:00
each thread in threads
2017-06-12 22:06:35 +00:00
ThreadLink(thread)