mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 22:21:07 +03:00
Create template clone for late template execution
Fixing some breaking blogs on Go 1.6 Fixes #1879
This commit is contained in:
parent
9896cd0030
commit
973393c99e
10 changed files with 116 additions and 69 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue