commit 01caaeba7ab73b365eb0a9e9285a1f779ef28a11
parent bb02a14b1e815eda7e8ecc5db8976ed51e3e3e9f
Author: spf13 <steve.francia@gmail.com>
Date: Fri, 29 Aug 2014 23:43:38 -0400
Making the Pages Sorting methods available within a taxonomy term.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hugolib/taxonomy.go b/hugolib/taxonomy.go
@@ -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()
}