Rename render.tmpl to post-render.tmpl

This commit is contained in:
Matt Baer 2018-11-23 12:22:15 -05:00
parent 03c36af2f9
commit 2b5e869916
2 changed files with 1 additions and 1 deletions

View file

@ -59,7 +59,7 @@ func initTemplate(name string) {
files = append(files, filepath.Join(templatesDir, "include", "posts.tmpl"))
}
if name == "collection" || name == "collection-tags" || name == "collection-post" || name == "post" {
files = append(files, filepath.Join(templatesDir, "include", "render.tmpl"))
files = append(files, filepath.Join(templatesDir, "include", "post-render.tmpl"))
}
templates[name] = template.Must(template.New("").Funcs(funcMap).ParseFiles(files...))
}