2025-02-26 21:41:34 -07:00

19 lines
666 B
HTML

{{ with site.Params.Author }}
<meta name="author" content="{{ .}}">
{{ end }}
{{ with site.Params.Description }}
<meta name="description" content="{{ . }}">
<meta name="og:description" content="{{ . }}">
{{ end }}
{{ with site.Params.Keywords }}
<meta name="keywords" content="{{ delimit . ", " }}">
{{ end }}
<meta name="og:title" content="{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}">
<meta name="og:url" content="{{ site.BaseURL }}">
{{ with site.Params.rich_preview }}
<meta name="og:image" content="{{ . }}">
{{ end }}
{{ with site.Params.favicon }}
<link rel="icon" type="image/x-icon" href="{{ . }}">
{{ end }}