Add missing handlers

This commit is contained in:
James Mills
2021-01-30 15:30:48 +10:00
parent 8495ba0319
commit 6756dea93d
3 changed files with 28 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ type TemplateManager struct {
funcMap template.FuncMap
}
func NewTemplateManager(conf *Config, blogs *BlogsCache, cache *Cache) (*TemplateManager, error) {
func NewTemplateManager(conf *Config) (*TemplateManager, error) {
templates := make(map[string]*template.Template)
funcMap := sprig.FuncMap()