Refactor: Reconfigured Directory Structure & Installed 11ty

This commit refactors the project's directory structure to better align with a static site generator (SSG) workflow. The source files have been moved into a dedicated src directory, and Eleventy has been installed as the new SSG.
This commit is contained in:
2025-08-18 20:18:19 -05:00
parent 6c5b28f362
commit c9c5b89736
69 changed files with 3146 additions and 1442 deletions

14
.eleventy.js Normal file
View File

@@ -0,0 +1,14 @@
module.exports = function (eleventyConfig) {
// ✅ Pass through static assets to the root of output
eleventyConfig.addPassthroughCopy({ "src/images": "images" });
eleventyConfig.addPassthroughCopy({ "src/styles": "styles" });
eleventyConfig.addPassthroughCopy({ "src/scripts": "scripts" });
return {
dir: {
input: "src",
output: "_site",
includes: "_includes",
},
};
};