From ce0b2cff1ec980995baf47e6727375cf7dc8da53 Mon Sep 17 00:00:00 2001 From: adnano Date: Sun, 9 May 2021 19:58:54 -0400 Subject: [PATCH] Use text/template for Atom feed template --- templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates.go b/templates.go index 94bd899..470a413 100644 --- a/templates.go +++ b/templates.go @@ -90,7 +90,7 @@ func (t *Templates) Load(dir string, exts []string) error { atom := pathpkg.Join(path, "atom.xml") if _, err := os.Stat(atom); err == nil { name := strings.TrimPrefix(atom, dir) - t.loadHTMLTemplate(name, atom) + t.LoadTemplate(name, atom) } // Load page templates