From 2b5e86991657ba10844b1d2562affd14ce37e409 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Fri, 23 Nov 2018 12:22:15 -0500 Subject: [PATCH] Rename render.tmpl to post-render.tmpl --- templates.go | 2 +- templates/include/{render.tmpl => post-render.tmpl} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename templates/include/{render.tmpl => post-render.tmpl} (100%) 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