hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 70dc370c08cced68b10b46bd4a48194013536934
parent 01caaeba7ab73b365eb0a9e9285a1f779ef28a11
Author: spf13 <steve.francia@gmail.com>
Date:   Fri, 29 Aug 2014 23:44:39 -0400

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

Diffstat:
Mhugolib/taxonomy.go | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/hugolib/taxonomy.go b/hugolib/taxonomy.go
@@ -112,6 +112,10 @@ func (ie OrderedTaxonomyEntry) Count() int {
 	return len(ie.WeightedPages)
 }
 
+func (ie OrderedTaxonomyEntry) Term() string {
+	return ie.Name
+}
+
 /*
  * Implementation of a custom sorter for OrderedTaxonomies
  */