mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Remove Authors.Sort
We may add it again in the future, but let us try to keep the API as small as possible for now. See #1850
This commit is contained in:
parent
cf978c0649
commit
51c9bfbc9e
1 changed files with 0 additions and 6 deletions
|
@ -39,12 +39,6 @@ func (a Authors) Get(id string) Author {
|
|||
return Author{}
|
||||
}
|
||||
|
||||
// Sort sorts the authors by weight
|
||||
func (a Authors) Sort() Authors {
|
||||
sort.Stable(a)
|
||||
return a
|
||||
}
|
||||
|
||||
// Author contains details about the author of a page.
|
||||
type Author struct {
|
||||
ID string
|
||||
|
|
Loading…
Reference in a new issue