1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-04-22 01:28:06 +00:00

hugolib: Avoid recreating the Paginator on copy

See 
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 { if err != nil {
panic(err) panic(err)
} }
c.paginator = p.paginator
return c return c
} }