mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
12 lines
No EOL
667 B
HTML
12 lines
No EOL
667 B
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 }}
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
{{- end }}
|
|
{{- end }}
|
|
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
|
|
{{- with .Site.Params.author }}
|
|
<meta name="author" content="{{ . }}">
|
|
{{- end }} |