refactor: add Page suffix to page templates
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M templates/index.go → templates/index.go
@@ -8,7 +8,7 @@ c "go.alanpearce.eu/gomponents/components" . "go.alanpearce.eu/gomponents/html" ) -func Index(pd PageData, entries *data.Entries) g.Node { +func IndexPage(pd PageData, entries *data.Entries) g.Node { return Page(pd, g.Group{ Header( H1(g.Text(pd.Meta.Title)),