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, 1 insertion(+), 1 deletion(-)

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