2022-02-06 12:51:54 +00:00
|
|
|
|
|
|
|
<meta charset="utf-8">
|
2024-04-24 21:05:13 +00:00
|
|
|
{{- /* to avoid that user swiping to the left leaves a gap on the right side, we set minimum-scale, even if not advised to */}}
|
2022-02-28 00:19:32 +00:00
|
|
|
<meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
2022-11-13 11:16:34 +00:00
|
|
|
{{- if (ne .Site.Params.disableGeneratorVersion true) }}
|
|
|
|
{{- $gen := hugo.Generator }}
|
|
|
|
{{- $gen = replaceRE "\\s*/>$" ">" $gen }}
|
2022-07-07 19:42:45 +00:00
|
|
|
{{ $gen | safeHTML }}
|
2022-11-13 11:16:34 +00:00
|
|
|
{{- $ver := partial "version.txt" }}
|
|
|
|
{{- $ver := printf "<meta name=\"generator\" content=\"%s %s\">" "Relearn" $ver }}
|
2022-07-07 19:42:45 +00:00
|
|
|
{{ $ver | safeHTML }}
|
2022-11-13 11:16:34 +00:00
|
|
|
{{- end }}
|
2024-07-21 21:40:57 +00:00
|
|
|
{{- if not (and .Title .RelPermalink (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableSeoHiddenPages true) ) ) }}
|
2021-09-09 20:26:24 +00:00
|
|
|
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
2021-09-23 20:38:54 +00:00
|
|
|
{{- end }}
|
2024-04-27 12:38:19 +00:00
|
|
|
<meta name="description" content="{{ with or .Description .Summary | plainify | htmlUnescape | chomp }}{{ . }}{{ end }}">
|
2023-10-20 18:08:37 +00:00
|
|
|
{{- $authorName := partialCached "authorname.hugo" . }}
|
2023-10-20 17:50:14 +00:00
|
|
|
<meta name="author" content="{{ $authorName }}">
|
2023-10-11 16:01:58 +00:00
|
|
|
{{- partial "twitter_cards.html" . }}
|
2024-04-24 19:20:11 +00:00
|
|
|
{{- partial "opengraph.html" . }}
|
|
|
|
{{- partial "schema.html" . }}
|