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