Add robots.txt

This commit is contained in:
Devon Campbell 2023-08-14 17:59:44 -04:00
commit ffd0bfb85f
2 changed files with 9 additions and 0 deletions

View file

@ -19,6 +19,7 @@ module.exports = function(eleventyConfig) {
eleventyConfig.addPassthroughCopy({
"node_modules/simpledotcss/simple.css": "css/simple.css",
});
eleventyConfig.addPassthroughCopy({ "src/robots.txt": "robots.txt" });
eleventyConfig.addFilter("buildPageTitle", function(title) {
if (this.page.url === '/') {

8
src/robots.txt Normal file
View file

@ -0,0 +1,8 @@
User-agent: GPTBot
Disallow: /
User-agent: Googlebot
Disallow: /
User-agent: Bingbot
Disallow: /