From: Bjørn Erik Pedersen Date: Fri, 16 Sep 2016 22:50:11 +0000 (+0200) Subject: Remove Authors.Sort X-Git-Tag: v0.17~50 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=51c9bfbc9ef96ca237fef1fb65baedd2a5ff3815;p=brevno-suite%2Fhugo 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 --- diff --git a/hugolib/author.go b/hugolib/author.go index 2fbbfe79..9aa71b5d 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