mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +00:00
23 lines
No EOL
1.1 KiB
HTML
23 lines
No EOL
1.1 KiB
HTML
|
|
<meta name="generator" content="Relearn {{ partial "version.html" }}">
|
|
{{- 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">
|
|
{{- else }}
|
|
{{- range .AlternativeOutputFormats }}
|
|
{{- if ne .Name "JSON" }}
|
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | relURL }}" title="{{ $.Site.Title | safeHTML }}" />
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- if and (ne .Site.Params.disableSeoHiddenPages true) (ne .Site.Params.disableSearchHiddenPages true) }}
|
|
{{- range .AlternativeOutputFormats }}
|
|
{{- if eq .Name "JSON" }}
|
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | relURL }}" title="{{ $.Site.Title | safeHTML }}" />
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|
|
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
|
|
{{- with .Site.Params.author }}
|
|
<meta name="author" content="{{ . }}">
|
|
{{- end }} |