mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Making the Pages Sorting methods available within a taxonomy term.
This commit is contained in:
@ -104,7 +104,7 @@ func (i Taxonomy) ByCount() OrderedTaxonomy {
|
||||
}
|
||||
|
||||
// Helper to move the page access up a level
|
||||
func (ie OrderedTaxonomyEntry) Pages() []*Page {
|
||||
func (ie OrderedTaxonomyEntry) Pages() Pages {
|
||||
return ie.WeightedPages.Pages()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user