mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-24 13:10:18 +01:00
Configurable keywords for blog posts.
This commit is contained in:
parent
65a909bd41
commit
b77fe77932
@ -39,9 +39,9 @@
|
||||
"@type": "Person",
|
||||
"name": "{{ .Params.author | default .Site.Params.author }}"
|
||||
}
|
||||
{{- if or (.Params.categories) (.Params.tags) -}}
|
||||
{{- if or (.Params.keywords) (or (.Params.categories) (.Params.tags)) -}}
|
||||
,
|
||||
"keywords": "{{ delimit (union .Params.categories .Params.tags) ", " }}"
|
||||
"keywords": "{{ delimit (union .Params.keywords (union .Params.categories .Params.tags)) ", " }}"
|
||||
{{- end }}
|
||||
|
||||
{{- with .Params.description -}}
|
||||
|
Loading…
Reference in New Issue
Block a user