2021-09-09 20:26:24 +00:00
|
|
|
{{- partial "page-meta.go" . }}
|
|
|
|
{{- if not (and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableSeoHiddenPages true) ) ) }}
|
|
|
|
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
2021-09-23 20:38:54 +00:00
|
|
|
{{- else }}
|
|
|
|
{{- range .AlternativeOutputFormats }}
|
2021-09-27 18:06:39 +00:00
|
|
|
{{- if ne .Name "JSON" }}
|
2021-09-23 20:38:54 +00:00
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
|
|
{{- end }}
|
2021-09-27 18:06:39 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if and (ne .Site.Params.disableSeoHiddenPages true) (ne .Site.Params.disableSearchHiddenPages true) }}
|
|
|
|
{{- range .AlternativeOutputFormats }}
|
|
|
|
{{- if eq .Name "JSON" }}
|
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
2021-09-09 20:26:24 +00:00
|
|
|
{{- end }}
|
|
|
|
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
|
|
|
|
{{- with .Site.Params.author }}
|
|
|
|
<meta name="author" content="{{ . }}">
|
|
|
|
{{- end }}
|