mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02: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
|
// Helper to move the page access up a level
|
||||||
func (ie OrderedTaxonomyEntry) Pages() []*Page {
|
func (ie OrderedTaxonomyEntry) Pages() Pages {
|
||||||
return ie.WeightedPages.Pages()
|
return ie.WeightedPages.Pages()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user