package main import "fmt" import "time" import "net/url" templ index(ps []Post, tz *time.Location) {
@posts(ps, tz)
} templ loginPage(csrfToken string) {
} templ uploadPage(csrfToken string) {
Description:
} templ posts(posts []Post, tz *time.Location) { for _, post := range posts {
{

{ post.Description }

{ post.CreatedAt.In(tz).Format("2006-01-02 - 15:04") }

} if len(posts) > 0 {
} }