lix-website/themes/lix/layouts/partials/head/head.html
2024-04-26 22:49:34 -06:00

24 lines
837 B
HTML

<head>
<!-- Title -->
<title>{{ .Site.Title }} {{ with .Title }} | {{ . }} {{ end }}</title>
<!-- Meta -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{end}}" />
<!-- Favicons and Manifest -->
{{ partial "head/_favicons.html" . }}
<!-- SEO: Google Analytics -->
{{ partial "head/_seo.html" . }}
<!-- Stylesheets and Javascript -->
{{ partial "head/_resources.html" . }}
<!-- RSS -->
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
</head>