{ post.Title }
{ post.Body }
package pages import ( "strconv" "git.grosinger.net/tgrosinger/saasitone/pkg/page" "git.grosinger.net/tgrosinger/saasitone/pkg/models" "git.grosinger.net/tgrosinger/saasitone/pkg/funcmap" ) templ Home(p page.Page, posts []models.Post) { if (p.HTMX.Request.Target != "posts") { @topContent(p) }
{ post.Title }
{ post.Body }
} if !p.Pager.IsEnd() {
}