hugolib: Avoid recreating the Paginator on copy

See #3315
This commit is contained in:
Bjørn Erik Pedersen 2017-04-12 13:00:44 +02:00
parent 3b67759495
commit e765b43e2b

View file

@ -83,6 +83,7 @@ func (p *PageOutput) copy() *PageOutput {
if err != nil {
panic(err)
}
c.paginator = p.paginator
return c
}