render .md files under root as pages (x.md => /x)
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M templates/list.templ → templates/list.templ
@@ -6,7 +6,7 @@ "go.alanpearce.eu/website/internal/content" ) templ TagPage(config *config.Config, tag string, posts []content.Post, path string) { - @Page(config, PageSettings{ + @Layout(config, PageSettings{ Title: tag, Path: path, TitleAttrs: templ.Attributes{@@ -25,7 +25,7 @@ } } templ ListPage(config *config.Config, posts []content.Post, path string) { - @Page(config, PageSettings{ + @Layout(config, PageSettings{ Title: config.Title, TitleAttrs: templ.Attributes{ "class": "p-author h-card",