15 lines
319 B
Plaintext
15 lines
319 B
Plaintext
component Forum(tag string, threads []*arn.Thread, threadsPerPage int)
|
|
h2.page-title Forum
|
|
ForumTags
|
|
.forum
|
|
ThreadList(threads)
|
|
|
|
if len(threads) == threadsPerPage
|
|
.buttons
|
|
button
|
|
Icon("refresh")
|
|
span Load more
|
|
|
|
component ThreadList(threads []*arn.Thread)
|
|
each thread in threads
|
|
ThreadLink(thread) |