add keywords for the home site
This commit is contained in:
parent
7824bd07e1
commit
ea09ee7261
|
@ -5,6 +5,9 @@
|
||||||
{{- with .Site.Params.description }}
|
{{- with .Site.Params.description }}
|
||||||
<meta name="description" content="{{ . }}">
|
<meta name="description" content="{{ . }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Site.Params.keywords }}
|
||||||
|
<meta name="keywords" content="{{ delimit . "," }}">
|
||||||
|
{{- end }}
|
||||||
<meta name="author" content="{{ $author.name }}">
|
<meta name="author" content="{{ $author.name }}">
|
||||||
{{- else if in .Page.URL "/posts/" }}
|
{{- else if in .Page.URL "/posts/" }}
|
||||||
{{- with .Page.Description }}
|
{{- with .Page.Description }}
|
||||||
|
|
Reference in New Issue