hugo-theme/layouts/partials/head.html

25 lines
840 B
HTML
Raw Normal View History

2024-10-21 13:47:30 +02:00
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="{{ if .IsHome }}{{ $.Site.Params.Subtitle }}{{ else }}{{ .Summary | plainify }}{{ end }}"
/>
<meta
name="keywords"
content="{{ with .Params.Keywords }}{{ delimit . ", " }}{{ else }}{{ $.Site.Params.Keywords }}{{ end }}"
/>
<meta name="robots" content="noodp" />
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
<link rel="canonical" href="{{ .Permalink }}" />
<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}" />
{{ partialCached "css.html" . }}
{{ if .Params.katex}}{{ partial "katex.html" . }}{{ end }}
{{- template "_internal/google_analytics.html" . -}}
{{- partial "custom_head.html" . -}}