diff --git a/.eleventy.js b/.eleventy.js index bb0726f..b335335 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -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 === '/') { diff --git a/src/robots.txt b/src/robots.txt new file mode 100644 index 0000000..c561232 --- /dev/null +++ b/src/robots.txt @@ -0,0 +1,8 @@ +User-agent: GPTBot +Disallow: / + +User-agent: Googlebot +Disallow: / + +User-agent: Bingbot +Disallow: /