Files
BloomValleyNursery/.eleventy.js
dereklseitz 601ff81c62 Feat: Add robots.txt to prevent demo site from being indexed
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.
2025-09-07 08:15:51 -05:00

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",
},
};
};