Add robots.txt - block chatgpt

This commit is contained in:
N-Upchurch 2023-08-15 09:30:40 -05:00
parent ca908fdf0f
commit b76f1cd53d
2 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,7 @@ module.exports = function(eleventyConfig) {
// Passthrough
eleventyConfig.addPassthroughCopy({ 'public/xsl/*': "/xsl/" });
eleventyConfig.addPassthroughCopy({ 'public/img/*': "/img/" });
eleventyConfig.addPassthroughCopy({ 'public/robots.txt': "/" });
// Copying so that basic.xsl can use it
eleventyConfig.addPassthroughCopy({ 'public/css/index.css': "/css/index.css" });
eleventyConfig.addPassthroughCopy({ 'public/css/webfonts/*': "/css/webfonts/" });

2
public/robots.txt Normal file
View File

@ -0,0 +1,2 @@
User-agent: GPTBot
Disallow: /