Hugo-theme-stack/layouts/partials/head/head.html

22 lines
709 B
HTML
Raw Normal View History

2020-08-22 07:20:08 -04:00
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
{{- $description := partial "data/description" . -}}
<meta name='description' content='{{ $description }}'>
2020-09-11 16:50:30 -04:00
{{- $title := partial "data/title" . -}}
<title>{{ $title }}</title>
2020-09-11 15:57:33 -04:00
<link rel='canonical' href='{{ .Permalink }}'>
2020-08-22 07:20:08 -04:00
2020-09-11 15:57:33 -04:00
{{- partial "head/style.html" . -}}
{{- partial "head/script.html" . -}}
{{- partial "head/opengraph/include.html" . -}}
2020-08-22 07:20:08 -04:00
2020-09-11 15:57:33 -04:00
{{- range .AlternativeOutputFormats -}}
2020-08-22 07:20:08 -04:00
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
2020-09-11 15:57:33 -04:00
{{- end -}}
2020-09-11 15:57:33 -04:00
{{- partial "head/custom.html" . -}}
2020-08-22 07:20:08 -04:00
</head>