aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-01-03 14:33:04 -0500
committertdro <tdro@noreply.example.com>2023-01-03 14:33:04 -0500
commit6f40c9a8d7263f82eb97009897502588f7236ce2 (patch)
tree4e16039a0a7fe660b6899a7772d331e9ec7d5123
parent996cc47fdf5a10b41f4ae57790e954dc3abd110d (diff)
downloadcanory-6f40c9a8d7263f82eb97009897502588f7236ce2.tar.gz
canory-6f40c9a8d7263f82eb97009897502588f7236ce2.tar.bz2
canory-6f40c9a8d7263f82eb97009897502588f7236ce2.zip
themes/default/layouts/partials/base-head: Default to noindex feeds
To avoid propagating duplicate content
-rw-r--r--themes/default/layouts/partials/base-head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/base-head.html b/themes/default/layouts/partials/base-head.html
index 9f96bd4..d9fb645 100644
--- a/themes/default/layouts/partials/base-head.html
+++ b/themes/default/layouts/partials/base-head.html
@@ -12,7 +12,7 @@
<!-- HTML Meta Tags -->
<meta charset="utf-8" />
<meta name="author" content="{{ $author.name -}}" />
-{{ if or .Params.Unlisted .Params.ExpiryDate -}}
+{{ if or .Params.Feed .Params.Unlisted .Params.ExpiryDate -}}
<meta name="robots" content="noindex,nofollow" />
{{- else -}}
<meta name="robots" content="{{ or .Site.Params.site.robots "index,follow" }}" />