diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-09-17 01:50:11 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-09-17 01:50:11 +0300 |
commit | 51c9bfbc9ef96ca237fef1fb65baedd2a5ff3815 (patch) | |
tree | 20cf813b12f32a0917e7477bf847658a9f13d807 /hugolib | |
parent | cf978c06496d99e76b08418422dda5797d90fed6 (diff) |
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
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/author.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hugolib/author.go b/hugolib/author.go index 2fbbfe793..9aa71b5df 100644 --- a/hugolib/author.go +++ b/hugolib/author.go @@ -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 |