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

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/utils/get-keywords.html')
-rw-r--r--layouts/partials/utils/get-keywords.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/utils/get-keywords.html b/layouts/partials/utils/get-keywords.html
index e2899d3..d10c6fc 100644
--- a/layouts/partials/utils/get-keywords.html
+++ b/layouts/partials/utils/get-keywords.html
@@ -35,4 +35,6 @@
{{ .scratch.Set .type (uniq (.scratch.Get .type)) }}
{{ end }}
+{{ if (.scratch.Get .type) }}
{{ .scratch.Set .type (sort (.scratch.Get .type)) }}
+{{ end }}