mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-03 12:12:37 +00:00
Making the Pages Sorting methods available within a taxonomy term.
This commit is contained in:
+1
-1
@@ -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