mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 16:14:59 +00:00
Making the Pages Sorting methods available within a taxonomy term.
This commit is contained in:
1 parent
bb02a14b1e
commit
01caaeba7a
1 file changed
+1
-1
+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