2022-01-16 15:14:26 +01:00
|
|
|
<!--
|
|
|
|
Site Indexing toggled by key value of `private` in Page/Post Settings
|
|
|
|
404.html and 404.php are noindex, nofollow by default
|
|
|
|
-->
|
2022-01-16 15:11:40 +01:00
|
|
|
<meta name="robots" content=
|
|
|
|
{{- if or (.Params.private) (in (string .Permalink) "404.html") (in (string .Permalink) "404.php") -}}
|
|
|
|
"noindex, nofollow"
|
|
|
|
{{- else -}}
|
|
|
|
"index, follow"
|
|
|
|
{{ end }} />
|
|
|
|
|
|
|
|
<!-- Meta Keywords/Tags for Users to search for in Search Engines -->
|
|
|
|
<meta name="keywords" content="
|
|
|
|
{{- with .Params.tags }}
|
2022-01-17 23:42:53 +01:00
|
|
|
{{- range $key, $item := . -}}
|
|
|
|
{{- if ne $key 0 -}}
|
|
|
|
,
|
|
|
|
{{- end -}}
|
2022-01-16 15:11:40 +01:00
|
|
|
{{ with $.Site.GetPage (printf "/%s/%s" "tags" . ) }}
|
2022-01-17 23:42:53 +01:00
|
|
|
{{- .Title -}}
|
2022-01-16 15:11:40 +01:00
|
|
|
{{- end }}
|
2022-01-17 23:42:53 +01:00
|
|
|
{{- end }}
|
|
|
|
{{- else -}}
|
|
|
|
Default, Keywords, That, Describe, Your, Page
|
|
|
|
{{- end }}" />
|
2022-01-16 15:11:40 +01:00
|
|
|
|
|
|
|
<!-- Canonical URLs -->
|
|
|
|
<link rel="canonical" href="{{ .Permalink }}" />
|
|
|
|
<link rel="alternate" href="{{ .Permalink }}" hreflang="{{ .Site.LanguageCode }}" />
|
|
|
|
|
|
|
|
<!-- Links to RSS Feed -->
|
|
|
|
{{ range .AlternativeOutputFormats -}}
|
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
|
|
{{ end -}}
|