mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
@@ -99,7 +99,8 @@ func (s *Site) renderPaginator(p *Page) error {
|
||||
|
||||
aliasPath := p.addLangPathPrefix(helpers.PaginateAliasPath(path.Join(p.sections...), 1))
|
||||
//TODO(bep) np node.permalink
|
||||
s.writeDestAlias(aliasPath, p.Node.Permalink(), nil)
|
||||
link, _ := p.Permalink()
|
||||
s.writeDestAlias(aliasPath, link, nil)
|
||||
|
||||
pagers := p.paginator.Pagers()
|
||||
|
||||
|
Reference in New Issue
Block a user