Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-09-17 01:50:11 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-09-17 01:50:11 +0300
commit51c9bfbc9ef96ca237fef1fb65baedd2a5ff3815 (patch)
tree20cf813b12f32a0917e7477bf847658a9f13d807 /hugolib
parentcf978c06496d99e76b08418422dda5797d90fed6 (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.go6
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