package templates import ( "go.alanpearce.eu/website/internal/config" "go.alanpearce.eu/website/internal/content" ) templ TagPage(config *config.Config, tag string, posts []content.Post, path string) { @Page(config, PageSettings{ Title: tag, Path: path, TitleAttrs: templ.Attributes{ "class": "p-author h-card", "rel": "author", }, }) {

#{ tag }

Remove filter
@list(posts) } } templ ListPage(config *config.Config, posts []content.Post, path string) { @Page(config, PageSettings{ Title: config.Title, TitleAttrs: templ.Attributes{ "class": "p-author h-card", "rel": "author", }, Path: path, }) { @list(posts) } } templ list(posts []content.Post) { }