diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e62029c..dfbc9f7 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -7,6 +7,10 @@ {{ partial "title.html" . }} <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}"> +{{ with .Keywords }} + <meta name="keywords" content="{{ range $i, $e := . }}{{ if $i }},{{ end }}{{ $e }}{{ end }}"> +{{ end }} + {{ if and (.IsPage) (eq .Params.hidden true)}} <meta name="robots" content="noindex" /> {{ end }} |