From c285fe4ff8eaf0149d9c4197665b10744e32b88b Mon Sep 17 00:00:00 2001 From: Adnan Maolood 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