hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 51c9bfbc9ef96ca237fef1fb65baedd2a5ff3815
parent cf978c06496d99e76b08418422dda5797d90fed6
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat, 17 Sep 2016 00:50:11 +0200

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:
Mhugolib/author.go | 6------
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git 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