use eleventy html base plugin
This commit is contained in:
parent
1cd8f12a3c
commit
4db61985cd
2 changed files with 4 additions and 0 deletions
|
|
@ -1,7 +1,10 @@
|
|||
import path from "node:path";
|
||||
import * as sass from "sass";
|
||||
import { HtmlBasePlugin } from "@11ty/eleventy";
|
||||
|
||||
export default function (eleventyConfig) {
|
||||
eleventyConfig.addPlugin(HtmlBasePlugin);
|
||||
|
||||
eleventyConfig.addGlobalData("layout", "default.liquid");
|
||||
|
||||
eleventyConfig.addPassthroughCopy("assets/images");
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@11ty/eleventy": "^3.1.5",
|
||||
"eleventy": "^2.0.1",
|
||||
"sass": "^1.98.0"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue