diff --git a/templates.go b/templates.go index faf4379..6af5b8f 100644 --- a/templates.go +++ b/templates.go @@ -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...)) } diff --git a/templates/include/render.tmpl b/templates/include/post-render.tmpl similarity index 100% rename from templates/include/render.tmpl rename to templates/include/post-render.tmpl