diff options
author | Dominik Juelg <djuelg@gmx.de> | 2020-08-22 15:49:51 +0300 |
---|---|---|
committer | Dominik Juelg <djuelg@gmx.de> | 2020-08-22 15:51:22 +0300 |
commit | 7e7b8493bdc9c2d9ee479f819252a1147f24c55f (patch) | |
tree | 9c437ec172cfa3ca6aa497ea464457c2a8d44beb /layouts | |
parent | 109c62b043d61c77681926adf02e6c3f94fcbcd2 (diff) |
removed keywords
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5e71079..4b3921d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,12 +3,12 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> -<title>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }} - {{ if eq $isHomePage false }}{{ delimit .Keywords ", " }} - {{ .Site.Title }}{{ else }}{{ delimit .Site.Params.keywords ", " }}{{ end }}</title> +<title>{{ .Title }}</title> <meta name="author" content="{{ with .Site.Params.name }}{{ . }}{{ end }}"> <meta name="description" content="{{ $isHomePage := eq .Title .Site.Title }}{{ if eq $isHomePage false }}{{ .Description }} - {{ end }}{{ .Site.Params.description }}"> <meta name="keywords" content="{{ delimit .Keywords ", " }}"> -<meta property="og:title" content="{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }} - {{ if eq $isHomePage false }}{{ delimit .Keywords ", " }} - {{ .Site.Title }}{{ else }}{{ delimit .Site.Params.keywords ", " }}{{ end }}"> +<meta property="og:title" content="{{ .Title }}"> <meta property="og:description" content="{{ $isHomePage := eq .Title .Site.Title }}{{ if eq $isHomePage false }}{{ .Description }} - {{ end }}{{ .Site.Params.description }}"> {{ "<!-- Site Icon -->" | safeHTML }} |