mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Making the Pages Sorting methods available within a taxonomy term.
This commit is contained in:
parent
bb02a14b1e
commit
01caaeba7a
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue