Use tags ahead of site default keywords

This commit is contained in:
madoke 2023-03-12 18:53:13 +00:00
parent 81e825ca9a
commit bbacdd1dbd

View file

@ -17,8 +17,8 @@
{{ with .Params.Summary | default .Site.Params.description -}} {{ with .Params.Summary | default .Site.Params.description -}}
<meta name="description" content="{{ . }}" /> <meta name="description" content="{{ . }}" />
{{- end }} {{- end }}
{{ with .Site.Params.keywords -}} {{ with .Params.Tags | default .Site.Params.keywords -}}
<meta name="keywords" content="{{ . }}" /> <meta name="keywords" content="{{ range . }}{{ . }}, {{ end -}}" />
{{- end }} {{- end }}
{{ with .Site.Params.robots }} {{ with .Site.Params.robots }}
<meta name="robots" content="{{ . }}" /> <meta name="robots" content="{{ . }}" />