shithub: hugo

Download patch

ref: 01caaeba7ab73b365eb0a9e9285a1f779ef28a11
parent: bb02a14b1e815eda7e8ecc5db8976ed51e3e3e9f
author: spf13 <[email protected]>
date: Fri Aug 29 19:43:38 EDT 2014

Making the Pages Sorting methods available within a taxonomy term.

--- a/hugolib/taxonomy.go
+++ b/hugolib/taxonomy.go
@@ -104,7 +104,7 @@
 }
 
 // Helper to move the page access up a level
-func (ie OrderedTaxonomyEntry) Pages() []*Page {
+func (ie OrderedTaxonomyEntry) Pages() Pages {
 	return ie.WeightedPages.Pages()
 }