1
0
mirror of https://git.sr.ht/~adnano/kiln synced 2024-09-19 01:31:36 +02:00

Revert "Use text/template for Atom feed template"

This reverts commit ce0b2cff1e.
This commit is contained in:
adnano 2021-05-10 00:56:27 -04:00
parent f7bfe681d9
commit 8064684827

View File

@ -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