mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 22:42:19 +00:00
tweak robots.txt
This commit is contained in:
parent
6e42c1e4b2
commit
2dede53aa5
2 changed files with 7 additions and 3 deletions
|
@ -8,11 +8,11 @@ numberOfRelatedPosts = 5
|
||||||
|
|
||||||
indexTitle = ".-. ..- -. - .. -- . - . .-. .-. --- .-."
|
indexTitle = ".-. ..- -. - .. -- . - . .-. .-. --- .-."
|
||||||
|
|
||||||
robots = [
|
bad_robots = [
|
||||||
"AdsBot-Google",
|
"AdsBot-Google",
|
||||||
"Amazonbot",
|
"Amazonbot",
|
||||||
"anthropic-ai",
|
"anthropic-ai",
|
||||||
"Applebot",
|
"Applebot-Extended",
|
||||||
"AwarioRssBot",
|
"AwarioRssBot",
|
||||||
"AwarioSmartBot",
|
"AwarioSmartBot",
|
||||||
"Bytespider",
|
"Bytespider",
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
|
# # hello, robots <|°_°|>
|
||||||
|
# let’s be friends <3
|
||||||
|
|
||||||
Sitemap: {{ .Site.BaseURL }}/sitemap.xml
|
Sitemap: {{ .Site.BaseURL }}/sitemap.xml
|
||||||
|
|
||||||
|
# except for these bots which are not friends:
|
||||||
User-agent: *
|
User-agent: *
|
||||||
Disallow:
|
Disallow:
|
||||||
{{ range .Site.Params.robots }}
|
{{ range .Site.Params.bad_robots }}
|
||||||
User-agent: {{ . }}
|
User-agent: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
Disallow: /
|
Disallow: /
|
||||||
|
|
Loading…
Reference in a new issue