diff --git a/config/files/index.js b/config/files/index.js index 91f6da0..e574321 100644 --- a/config/files/index.js +++ b/config/files/index.js @@ -4,6 +4,7 @@ module.exports = function(eleventyConfig) { } eleventyConfig.addPassthroughCopy("src/assets"); + eleventyConfig.addPassthroughCopy("src/robots.txt"); eleventyConfig.setDataDeepMerge(true); eleventyConfig.setFrontMatterParsingOptions({ excerpt: true, }); } \ No newline at end of file diff --git a/src/robots.txt b/src/robots.txt new file mode 100644 index 0000000..c314f7d --- /dev/null +++ b/src/robots.txt @@ -0,0 +1,7 @@ +User-Agent: Bytespider +Disallow: / + +User-Agent: * +Allow: / +Disallow: /assets/ +Host: https://lewisdale.dev \ No newline at end of file