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:
@@ -31,8 +31,7 @@ func TestRobotsTXTOutput(t *testing.T) {
|
||||
|
||||
s.initializeSiteInfo()
|
||||
|
||||
s.prepTemplates()
|
||||
s.addTemplate("robots.txt", ROBOTSTXT_TEMPLATE)
|
||||
s.prepTemplates("robots.txt", ROBOTSTXT_TEMPLATE)
|
||||
|
||||
if err := s.CreatePages(); err != nil {
|
||||
t.Fatalf("Unable to create pages: %s", err)
|
||||
|
Reference in New Issue
Block a user