sort tags everywhere

This commit is contained in:
Gabriele Musco 2021-06-16 11:08:07 +02:00
parent 6f8e3cfdb4
commit 165081d97d
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
8 changed files with 15 additions and 13 deletions

View file

@ -1,7 +1,7 @@
<meta name="author" content="{{ .Site.Params.Author }}" />
{{ if .IsPage }}
{{ if .Params.tags }}
<meta name="keywords" content='{{ delimit .Params.tags ", "}}' />
<meta name="keywords" content='{{ delimit (sort .Params.tags) ", "}}' />
{{ end }}
{{ if .Params.description }}
<meta name="description" content="{{ .Params.description }}" />