hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit e765b43e2bf3d017f8ae8fd4d455d7bd60e11973
parent 3b67759495c9268c30e6ba2d8c7e3b75d52d2960
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed, 12 Apr 2017 13:00:44 +0200

hugolib: Avoid recreating the Paginator on copy

See #3315

Diffstat:
Mhugolib/page_output.go | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/hugolib/page_output.go b/hugolib/page_output.go
@@ -83,6 +83,7 @@ func (p *PageOutput) copy() *PageOutput {
 	if err != nil {
 		panic(err)
 	}
+	c.paginator = p.paginator
 	return c
 }