hugolib: Must recreate Paginator on live-reload
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 12 Apr 2017 16:11:37 +0000 (18:11 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 12 Apr 2017 19:15:51 +0000 (21:15 +0200)
commit45c74526686f6a2afa02bcee767d837d6b9dd028
tree22391738a5f8833fdc4592f97510298238e52332
parente765b43e2bf3d017f8ae8fd4d455d7bd60e11973
hugolib: Must recreate Paginator on live-reload

The structure may potentially have changed, and then it fails.

Fixes #3315
hugolib/page_output.go
hugolib/site_render.go