Added Robots.txt for anti-LLM stuff, and passed it through in .eleventy.js
main
Nexan 2025-01-21 12:31:37 -06:00
parent aa0bab1cc3
commit b7d40f6d83
2 changed files with 46 additions and 1 deletions

View File

@ -2,7 +2,8 @@ module.exports = function(eleventyConfig) {
eleventyConfig.addPassthroughCopy({
"src/style/theme.css": "/style/theme.css",
"src/style/scrollbar.css": "/style/scrollbar.css",
"src/image": "/image"
"src/image": "/image",
"src/robots.txt": "/robots.txt"
})
eleventyConfig.setLiquidOptions({
dynamicPartials: false,

44
src/robots.txt 100644
View File

@ -0,0 +1,44 @@
User-agent: AI2Bot
User-agent: Ai2Bot-Dolma
User-agent: Amazonbot
User-agent: anthropic-ai
User-agent: Applebot-Extended
User-agent: Bytespider
User-agent: CCBot
User-agent: ChatGPT-User
User-agent: Claude-Web
User-agent: ClaudeBot
User-agent: cohere-ai
User-agent: cohere-training-data-crawler
User-agent: Crawlspace
User-agent: Diffbot
User-agent: DuckAssistBot
User-agent: FacebookBot
User-agent: FriendlyCrawler
User-agent: Google-Extended
User-agent: GoogleOther
User-agent: GoogleOther-Image
User-agent: GoogleOther-Video
User-agent: GPTBot
User-agent: iaskspider/2.0
User-agent: ICC-Crawler
User-agent: ImagesiftBot
User-agent: img2dataset
User-agent: ISSCyberRiskCrawler
User-agent: Kangaroo Bot
User-agent: Meta-ExternalAgent
User-agent: Meta-ExternalFetcher
User-agent: OAI-SearchBot
User-agent: omgili
User-agent: omgilibot
User-agent: PanguBot
User-agent: PerplexityBot
User-agent: PetalBot
User-agent: Scrapy
User-agent: SemrushBot
User-agent: Sidetrade indexer bot
User-agent: Timpibot
User-agent: VelenPublicWebCrawler
User-agent: Webzio-Extended
User-agent: YouBot
Disallow: /