mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
parent
bef5048580
commit
b39689393c
11 changed files with 633 additions and 181 deletions
|
@ -167,6 +167,8 @@ func (s *Site) renderPaginator(p *PageOutput) error {
|
|||
return err
|
||||
}
|
||||
|
||||
pagerNode.origOnCopy = p.Page
|
||||
|
||||
pagerNode.paginator = pager
|
||||
if pager.TotalPages() > 0 {
|
||||
first, _ := pager.page(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue