gostatic
gostatic copied to clipboard
inner-template not working
I have
feed.atom: posts/*/*.md
inner-template
in the verbose output
Found page: feed.atom; rule: &{[posts/*/*.md] [inner-template]}
yet if just gets copied and the template does not get applied at all.
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0">
<id>{{ .Site.Other.Url }}</id>
Not sure what I am doing wrong there.
Seems like when there is problem with the template no error gets reported and instead the file is not getting processed but just copied.
Oh, that's pretty bad. I'm not sure I'll have time to look into that soon, but patches are really welcome!
I got the same issue. File blog.atom do not processed with templates. After adding error handling I got error:
blog.atom: runtime error: index out of range
It's means, I have error in template. I checked the file, and fixed it. I think this pull was solved this issue.