shithub: hugo

Download patch

ref: 70dc370c08cced68b10b46bd4a48194013536934
parent: 01caaeba7ab73b365eb0a9e9285a1f779ef28a11
author: spf13 <[email protected]>
date: Fri Aug 29 19:44:39 EDT 2014

Making the term "Term" more consistent with Taxonomy usage.

--- a/hugolib/taxonomy.go
+++ b/hugolib/taxonomy.go
@@ -112,6 +112,10 @@
 	return len(ie.WeightedPages)
 }
 
+func (ie OrderedTaxonomyEntry) Term() string {
+	return ie.Name
+}
+
 /*
  * Implementation of a custom sorter for OrderedTaxonomies
  */