diff options
author | spf13 <steve.francia@gmail.com> | 2014-08-29 23:43:38 -0400 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2014-08-29 23:43:38 -0400 |
commit | 01caaeba7ab73b365eb0a9e9285a1f779ef28a11 (patch) | |
tree | a7f54039a7d9099acff2f1011d837ba0eabe214f /hugolib/taxonomy.go | |
parent | bb02a14b1e815eda7e8ecc5db8976ed51e3e3e9f (diff) |
Making the Pages Sorting methods available within a taxonomy term.
Diffstat (limited to 'hugolib/taxonomy.go')
-rw-r--r-- | hugolib/taxonomy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/taxonomy.go b/hugolib/taxonomy.go index 6939e076d..539e2a1bb 100644 --- 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() } |