Hugo-theme-stack/layouts/partials/head.html
Jimmy Cai b64cbe1ef8
refactor(head): remove favicon output
It's better to use favicon generator tools, and paste HTML in head/custom.html
2020-09-11 21:59:05 +02:00

18 lines
673 B
HTML

<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<meta name='description' content='{{ chomp (partial "data/description" . | plainify ) }}'>
<title>{{ (trim (partial "data/title" .) "\n" ) | safeHTML }}</title>
<link rel='canonical' href='{{ .Permalink }}'>
{{- partial "head/style.html" . -}}
{{- partial "head/script.html" . -}}
{{- partial "head/opengraph/include.html" . -}}
{{- range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{- end -}}
{{- partial "head/custom.html" . -}}
</head>