From fbba43c70531086d1aa41fd361fc024e005161ca Mon Sep 17 00:00:00 2001 From: Adnan Maolood Date: Mon, 10 May 2021 00:56:27 -0400 Subject: [PATCH] Revert "Use text/template for Atom feed template" This reverts commit c285fe4ff8eaf0149d9c4197665b10744e32b88b. --- templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates.go b/templates.go index 470a413..94bd899 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.LoadTemplate(name, atom) + t.loadHTMLTemplate(name, atom) } // Load page templates