From 70dc370c08cced68b10b46bd4a48194013536934 Mon Sep 17 00:00:00 2001 From: spf13 Date: Fri, 29 Aug 2014 23:44:39 -0400 Subject: [PATCH] Making the term "Term" more consistent with Taxonomy usage. --- hugolib/taxonomy.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hugolib/taxonomy.go b/hugolib/taxonomy.go index 539e2a1bb..890bd550c 100644 --- 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 */