templateFunc: paginate -> listPages This is a more appropriate name for the function
1 files changed, 1 insertions(+), 1 deletions(-) M builder/templates.go
M builder/templates.go => builder/templates.go +1 -1
@@ 34,7 34,7 @@ func getTemplateFuncs(config *config.BlazeConfig) template.FuncMap { } return string(partial) }, "paginate": func(path string) []*Page { "listPages": func(path string) []*Page { fullpath := filepath.Join(config.ContentDir(), path) pages, err := GetPages(fullpath, config) if err != nil {