mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
@@ -258,7 +258,9 @@ func (p *pageState) sortResources() {
|
||||
return page.DefaultPageSort(p1, p2)
|
||||
}
|
||||
|
||||
return ri.RelPermalink() < rj.RelPermalink()
|
||||
// Make sure not to use RelPermalink or any of the other methods that
|
||||
// trigger lazy publishing.
|
||||
return ri.Name() < rj.Name()
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user