{ post.Body }
package views
import (
"fmt"
"github.com/dominicf2001/comfychan/internal/database"
"github.com/dominicf2001/comfychan/web/views/shared"
"strconv"
)
templ ThreadPosts(posts []database.Post) {
for _, post := range (posts) {
{ post.Body }
}
}
templ Thread(board database.Board, thread database.Thread, posts []database.Post) {
@shared.Layout() {
@BoardHeader(board)
{ posts[0].Body }