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

26 lines
1.1 KiB
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 -}}
<link href="/index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="/index.xml" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
<script defer src="/fontawesome/all.js"></script>
</head>