all repos — homestead @ 526002b13309812ce647faff2bdf66d6991ec467

Code for my website

render .md files under root as pages (x.md => /x)

Alan Pearce
commit

526002b13309812ce647faff2bdf66d6991ec467

parent

b0c19c83493787485428221330c654defcd18505

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M templates/list.templtemplates/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",