mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-05-29 02:26:07 +02:00
Revert "Use text/template for Atom feed template"
This reverts commit c285fe4ff8
.
This commit is contained in:
parent
f74b9b72af
commit
fbba43c705
|
@ -90,7 +90,7 @@ func (t *Templates) Load(dir string, exts []string) error {
|
||||||
atom := pathpkg.Join(path, "atom.xml")
|
atom := pathpkg.Join(path, "atom.xml")
|
||||||
if _, err := os.Stat(atom); err == nil {
|
if _, err := os.Stat(atom); err == nil {
|
||||||
name := strings.TrimPrefix(atom, dir)
|
name := strings.TrimPrefix(atom, dir)
|
||||||
t.LoadTemplate(name, atom)
|
t.loadHTMLTemplate(name, atom)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load page templates
|
// Load page templates
|
||||||
|
|
Loading…
Reference in New Issue