Skip to content

Commit

Permalink
Remove Authors.Sort
Browse files Browse the repository at this point in the history
We may add it again in the future, but let us try to keep the API as small as possible for now.

See gohugoio#1850
  • Loading branch information
bep authored and tychoish committed Aug 13, 2017
1 parent 1d435e7 commit 1a7c32d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions hugolib/author.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a7c32d

Please sign in to comment.