update @ Thu Jan 2 10:06:29 EET 2025

Signed-off-by: Ari Archer <ari@ari.lt>
This commit is contained in:
Arija A. 2025-01-02 10:06:29 +02:00
parent c3aa9d9e3b
commit 3a52a82b15
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2

View file

@ -1475,8 +1475,39 @@ def robots(config: dict[str, typing.Any]) -> int:
r.write( r.write(
f"""User-agent: * f"""User-agent: *
Disallow: /{config["assets-dir"]}/* Disallow: /{config["assets-dir"]}/*
Allow: * Sitemap: {config["blog"]}/sitemap.xml
Sitemap: {config["blog"]}/sitemap.xml"""
# We are not slaves for machines.
User-agent: Amazonbot
User-agent: anthropic-ai
User-agent: Applebot-Extended
User-agent: Bytespider
User-agent: CCBot
User-agent: ChatGPT-User
User-agent: ClaudeBot
User-agent: Claude-Web
User-agent: cohere-ai
User-agent: Diffbot
User-agent: FacebookBot
User-agent: facebookexternalhit
User-agent: FriendlyCrawler
User-agent: Google-Extended
User-agent: GPTBot
User-agent: ICC-Crawler
User-agent: ImagesiftBot
User-agent: img2dataset
User-agent: meta-externalagent
User-agent: OAI-SearchBot
User-agent: Omgili
User-agent: Omgilibot
User-agent: PerplexityBot
User-agent: PetalBot
User-agent: Scrapy
User-agent: Timpibot
User-agent: VelenPublicWebCrawler
User-agent: YouBot
Disallow: /"""
) )
lnew(f"generated {r.name!r}") lnew(f"generated {r.name!r}")