A robots.txt file has been added to the root of the site. It uses a blanket "Disallow: /" rule with an "Allow: /credits/" exception to ensure only the attributions page is indexed by search engines.
14 lines
449 B
JavaScript
14 lines
449 B
JavaScript
module.exports = function (eleventyConfig) {
|
|
eleventyConfig.addPassthroughCopy({ "src/images": "images" });
|
|
eleventyConfig.addPassthroughCopy({ "src/styles": "styles" });
|
|
eleventyConfig.addPassthroughCopy({ "src/scripts": "scripts" });
|
|
eleventyConfig.addPassthroughCopy({ "src/robots.txt": "robots.txt"});
|
|
return {
|
|
dir: {
|
|
input: "src",
|
|
output: "_site",
|
|
includes: "_includes",
|
|
},
|
|
};
|
|
};
|