use eleventy html base plugin

This commit is contained in:
june 2026-03-30 19:11:19 -07:00
parent 1cd8f12a3c
commit 4db61985cd
2 changed files with 4 additions and 0 deletions

View file

@ -1,7 +1,10 @@
import path from "node:path"; import path from "node:path";
import * as sass from "sass"; import * as sass from "sass";
import { HtmlBasePlugin } from "@11ty/eleventy";
export default function (eleventyConfig) { export default function (eleventyConfig) {
eleventyConfig.addPlugin(HtmlBasePlugin);
eleventyConfig.addGlobalData("layout", "default.liquid"); eleventyConfig.addGlobalData("layout", "default.liquid");
eleventyConfig.addPassthroughCopy("assets/images"); eleventyConfig.addPassthroughCopy("assets/images");

View file

@ -10,6 +10,7 @@
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"dependencies": { "dependencies": {
"@11ty/eleventy": "^3.1.5",
"eleventy": "^2.0.1", "eleventy": "^2.0.1",
"sass": "^1.98.0" "sass": "^1.98.0"
} }