mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
Making the term "Term" more consistent with Taxonomy usage.
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user