add keywords for the home site

This commit is contained in:
Robert Kaussow 2018-12-23 16:58:16 +01:00
parent 7824bd07e1
commit ea09ee7261
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@
{{- with .Site.Params.description }}
<meta name="description" content="{{ . }}">
{{- end }}
{{- with .Site.Params.keywords }}
<meta name="keywords" content="{{ delimit . "," }}">
{{- end }}
<meta name="author" content="{{ $author.name }}">
{{- else if in .Page.URL "/posts/" }}
{{- with .Page.Description }}