mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-24 21:20:17 +01:00
Configurable keywords for blog posts.
This commit is contained in:
parent
65a909bd41
commit
b77fe77932
@ -39,9 +39,9 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "{{ .Params.author | default .Site.Params.author }}"
|
"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 }}
|
{{- end }}
|
||||||
|
|
||||||
{{- with .Params.description -}}
|
{{- with .Params.description -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user