Permalink
Browse files

commands: Fix broken hugo --renderToMemory

The `--renderToMemory` flag stopped working on `hugo` in 0.32.

Note that this is only useful for benchmark testing, as there is no easy way to actually view the result.

Fixes #4212
  • Loading branch information...
bep committed Jan 2, 2018
1 parent a54fd7d commit d36d71edd3b04df3b34edf4d108e3995a244c4f0
Showing with 1 addition and 0 deletions.
  1. +1 −0 commands/hugo.go
View
@@ -132,6 +132,7 @@ Complete documentation is available at http://gohugo.io/.`,
if buildWatch {
c.Set("disableLiveReload", true)
}
c.Set("renderToMemory", renderToMemory)
return nil
}

0 comments on commit d36d71e

Please sign in to comment.