ensure reasonable ordering of declarations in source
1 file changed, 4 insertions(+), 4 deletions(-)
changed files
M domain/content/templates/list.go → domain/content/templates/list.go
@@ -13,6 +13,10 @@ Tag string Posts []*content.Post } +type ListPageVars struct { + Posts []*content.Post +} + func TagPage(site templates.SiteSettings, vars TagPageVars) g.Node { return templates.Layout(site, templates.PageSettings{ Title: vars.Tag,@@ -27,10 +31,6 @@ ), ), list(vars.Posts), )) -} - -type ListPageVars struct { - Posts []*content.Post } func ListPage(site templates.SiteSettings, vars ListPageVars) g.Node {