diff --git a/config/_default/params.toml b/config/_default/params.toml index 94b3418..ad7dad0 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -8,11 +8,11 @@ numberOfRelatedPosts = 5 indexTitle = ".-. ..- -. - .. -- . - . .-. .-. --- .-." -robots = [ +bad_robots = [ "AdsBot-Google", "Amazonbot", "anthropic-ai", - "Applebot", + "Applebot-Extended", "AwarioRssBot", "AwarioSmartBot", "Bytespider", diff --git a/layouts/robots.txt b/layouts/robots.txt index 693c133..7d20121 100644 --- a/layouts/robots.txt +++ b/layouts/robots.txt @@ -1,8 +1,12 @@ +# # hello, robots <|°_°|> +# let’s be friends <3 + Sitemap: {{ .Site.BaseURL }}/sitemap.xml +# except for these bots which are not friends: User-agent: * Disallow: -{{ range .Site.Params.robots }} +{{ range .Site.Params.bad_robots }} User-agent: {{ . }} {{- end }} Disallow: /