sillon-fictionnel/themes/writeonly/layouts/partials/head/head.html

24 lines
837 B
HTML
Raw Normal View History

2024-01-28 13:23:24 +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>