Making the Pages Sorting methods available within a taxonomy term.
authorspf13 <steve.francia@gmail.com>
Sat, 30 Aug 2014 03:43:38 +0000 (23:43 -0400)
committerspf13 <steve.francia@gmail.com>
Sat, 30 Aug 2014 03:43:38 +0000 (23:43 -0400)
hugolib/taxonomy.go

index 6939e076da202ed5dcc9fff925802f70a4f2e497..539e2a1bbba830d43de8d9580e84dfb72af23ffc 100644 (file)
@@ -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()
 }