From 51c9bfbc9ef96ca237fef1fb65baedd2a5ff3815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 17 Sep 2016 00:50:11 +0200 Subject: [PATCH] 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 --- hugolib/author.go | 6 ------ 1 file changed, 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