hugo-theme-hilfe/layouts/partials/head/meta.html

14 lines
484 B
HTML
Raw Normal View History

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2021-04-27 23:44:35 +02:00
<meta name="color-scheme" content="light dark" />
{{ $description := default (default .Site.Title .Site.Params.description) (default .Summary .Description) }}
{{ $keywords := default .Site.Params.Keywords .Keywords }}
{{ with $description }}
<meta name="description" content="{{ . }}">
{{ end }}
{{ with $keywords }}
<meta name="keywords" content="{{ delimit . "," }}">
{{ end }}