From 01caaeba7ab73b365eb0a9e9285a1f779ef28a11 Mon Sep 17 00:00:00 2001 From: spf13 Date: Fri, 29 Aug 2014 23:43:38 -0400 Subject: [PATCH] Making the Pages Sorting methods available within a taxonomy term. --- hugolib/taxonomy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }