mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 00:16:45 +00:00
Making the term "Term" more consistent with Taxonomy usage.
This commit is contained in:
1 parent
01caaeba7a
commit
70dc370c08
1 file changed
+4
@@ -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