github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/docs/themes/hugo-theme-relearn/layouts/partials/meta.html (about) 1 2 <meta charset="utf-8"> 3 {{- $c:=""}}{{/* to avoid that user swiping to the left leaves a gap on the right side, we set minimum-scale, even if not advised to */}} 4 <meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0"> 5 {{- if (ne .Site.Params.disableGeneratorVersion true) }} 6 {{- $gen := hugo.Generator }} 7 {{- $gen = replaceRE "\\s*/>$" ">" $gen }} 8 {{ $gen | safeHTML }} 9 {{- $ver := partial "version.txt" }} 10 {{- $ver := printf "<meta name=\"generator\" content=\"%s %s\">" "Relearn" $ver }} 11 {{ $ver | safeHTML }} 12 {{- end }} 13 {{- if not (and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableSeoHiddenPages true) ) ) }} 14 <meta name="robots" content="noindex, nofollow, noarchive, noimageindex"> 15 {{- end }} 16 <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}"> 17 {{- $authorName := partialCached "authorname.hugo" . }} 18 <meta name="author" content="{{ $authorName }}"> 19 {{- partial "twitter_cards.html" . }} 20 {{- partial "opengraph.html" . }}