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-10-17 21:03:41 +00:00
|
|
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | relURL }}" title="{{ $.Site.Title | safeHTML }}" />
|
2021-09-23 20:38:54 +00:00
|
|
|
{{- 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" }}
|
2021-10-17 21:03:41 +00:00
|
|
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | relURL }}" title="{{ $.Site.Title | safeHTML }}" />
|
2021-09-27 18:06:39 +00:00
|
|
|
{{- 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 }}
|