-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
this automatically generates our robots.txt file, grabbing an updated list of ai scrapers to block each time
- Loading branch information
1 parent
395fb36
commit 500a00f
Showing
3 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = async function() { | ||
response = await fetch("https://raw.githubusercontent.com/ai-robots-txt/ai.robots.txt/refs/heads/main/robots.txt"); | ||
return response.text() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
permalink: /robots.txt | ||
--- | ||
# omg haiiiii robots ^-^ | ||
# i love robots :3 | ||
|
||
# AI scrapers | ||
{{ aibots }} | ||
|
||
# everyone else | ||
User-agent: * | ||
Allow: / | ||
|
||
# sitemaps | ||
Sitemap: {{ site.url }}/sitemap.xml | ||
Sitemap: {{ site.url }}/sitemap-news.xml |
This file was deleted.
Oops, something went wrong.