render .md files under root as pages (x.md => /x)
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M templates/homepage.templ → templates/homepage.templ
@@ -6,7 +6,7 @@ "go.alanpearce.eu/website/internal/content" ) templ Homepage(config *config.Config, posts []content.Post, content templ.Component) { - @Page(config, PageSettings{ + @Layout(config, PageSettings{ Title: config.Title, TitleAttrs: templ.Attributes{ "class": "p-name u-url",