1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-04-13 21:44:55 +00: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 
This commit is contained in:
Bjørn Erik Pedersen 2016-09-17 00:50:11 +02:00
parent cf978c0649
commit 51c9bfbc9e

View file

@ -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