lix-website/themes/lix/layouts/partials/head/head.html

24 lines
837 B
HTML
Raw Normal View History

2024-04-27 03:39:10 +00:00
<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>