mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Making the term "Term" more consistent with Taxonomy usage.
This commit is contained in:
parent
01caaeba7a
commit
70dc370c08
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue