Add robots.txt
This commit is contained in:
1 parent
1e7250e6e2
commit
9df34b87e3
2 files changed
+8
No files matched your search
@@ -4,6 +4,7 @@ module.exports = function(eleventyConfig) {
|
||||
}
|
||||
|
||||
eleventyConfig.addPassthroughCopy("src/assets");
|
||||
eleventyConfig.addPassthroughCopy("src/robots.txt");
|
||||
eleventyConfig.setDataDeepMerge(true);
|
||||
eleventyConfig.setFrontMatterParsingOptions({ excerpt: true, });
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
User-Agent: Bytespider
|
||||
Disallow: /
|
||||
|
||||
User-Agent: *
|
||||
Allow: /
|
||||
Disallow: /assets/
|
||||
Host: https://lewisdale.dev
|
||||
Reference in new issue
Block a user