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:
Diffstat (limited to 'helpers/docshelper.go')
-rw-r--r--helpers/docshelper.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/helpers/docshelper.go b/helpers/docshelper.go
index 8ad817d12..66cbfa7d3 100644
--- a/helpers/docshelper.go
+++ b/helpers/docshelper.go
@@ -36,8 +36,7 @@ func init() {
}
}
- sort.Strings(aliases)
- aliases = UniqueStrings(aliases)
+ aliases = UniqueStringsSorted(aliases)
lexerEntry := struct {
Name string