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/tags.templtemplates/tags.templ
@@ -7,7 +7,7 @@ <a { attrs... } href={ templ.SafeURL("/tags/" + tag + "/") }>#{ tag }</a>
} templ TagsPage(config *config.Config, title string, tags []string, path string) { - @Page(config, PageSettings{ + @Layout(config, PageSettings{ Title: title, Path: path, }) {