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

24 lines
753 B
HTML
Raw Normal View History

2020-09-26 17:00:48 -04:00
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
2020-09-11 16:50:30 -04:00
2020-09-26 17:00:48 -04:00
{{- $description := partialCached "data/description" . .RelPermalink -}}
<meta name='description' content='{{ $description }}'>
2020-08-22 07:20:08 -04:00
2020-09-26 17:00:48 -04:00
{{- $title := partialCached "data/title" . .RelPermalink -}}
<title>{{ $title }}</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 -}}
{{ with .Site.Params.favicon }}
<link rel="shortcut icon" href="{{ . }}" />
{{ end }}
2020-09-26 17:00:48 -04:00
{{- partial "head/custom.html" . -}}