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