19 lines
666 B
HTML
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 }}
|