add alternative meta description to baseof.html
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-02-14 14:39:07 +01:00
parent 6928c45106
commit 3a6fe46e26
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -7,6 +7,7 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta http-equiv="X-UA-Compatible" content="ie=edge">
{{- with .Site.Params.themeColor }} {{- with .Site.Params.themeColor }}
<meta name="description" content="{{if $.IsHome}}{{ $.Site.Params.description }}{{else}}{{$.Description}}{{end}}"> <meta name="description" content="{{if $.IsHome}}{{ $.Site.Params.description }}{{else}}{{$.Description}}{{end}}">
<meta description="{{if $.IsHome}}{{ $.Site.Params.description }}{{else}}{{$.Description}}{{end}}">
<meta name="theme-color" content="{{.}}"> <meta name="theme-color" content="{{.}}">
<meta name="msapplication-TileColor" content="{{.}}"> <meta name="msapplication-TileColor" content="{{.}}">
{{- end }} {{- end }}