package main import ( "fmt" "net/url" "time" ) templ index(ps []Post, tz *time.Location) { Tinygram
@posts(ps, tz)
} templ loginPage(csrfToken string) { Tinygram
} templ uploadPage(csrfToken string) { Tinygram
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 {
} }