hugolib, output: Restrict Render to regular Pages
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 26 Mar 2017 17:34:30 +0000 (19:34 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 27 Mar 2017 13:43:56 +0000 (15:43 +0200)
commit930a3df1b79d21f005a63918b89cc01ae5a4cd9e
tree07955b204d91ee67857beb1af2a6d49da4386086
parente49a2b83ad9825a978ecbf0ff5fd9b7331690c17
hugolib, output: Restrict Render to regular Pages

Using it for list pages doesn't work and has potential weird side-effects.

The user probably meant to range over .Site.ReqularPages, and that is now marked clearly in the log.
hugolib/page.go
hugolib/page_output.go
hugolib/site.go
hugolib/site_render.go
output/layout.go
output/layout_test.go