mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 19:34:19 +00:00
Rename render.tmpl to post-render.tmpl
This commit is contained in:
parent
03c36af2f9
commit
2b5e869916
2 changed files with 1 additions and 1 deletions
|
@ -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...))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue