mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Create template clone for late template execution
Fixing some breaking blogs on Go 1.6 Fixes #1879
This commit is contained in:
@@ -50,8 +50,7 @@ func TestSitemapOutput(t *testing.T) {
|
||||
|
||||
s.initializeSiteInfo()
|
||||
|
||||
s.prepTemplates()
|
||||
s.addTemplate("sitemap.xml", SITEMAP_TEMPLATE)
|
||||
s.prepTemplates("sitemap.xml", SITEMAP_TEMPLATE)
|
||||
|
||||
if err := s.CreatePages(); err != nil {
|
||||
t.Fatalf("Unable to create pages: %s", err)
|
||||
|
Reference in New Issue
Block a user