wonderfulfrog.com/.eleventy.js
Devin Lumley a5526174ba feat: convert templates from njk to html
Note: Nunjucks will still process the templates, but this way they can
be plain HTML files and will be formatted properly.
2024-01-28 20:52:09 -08:00

24 lines
642 B
JavaScript

module.exports = (eleventyConfig) => {
eleventyConfig.addWatchTarget("./src/assets");
// --------------------- Custom Template Languages ---------------------
eleventyConfig.addPlugin(
require("./config/template-languages/css-config.js"),
);
return {
// Optional (default is set): If your site deploys to a subdirectory, change `pathPrefix`, for example with with GitHub pages
pathPrefix: "/",
markdownTemplateEngine: "njk",
dataTemplateEngine: "njk",
htmlTemplateEngine: "njk",
dir: {
output: "dist",
input: "src",
includes: "_includes",
layouts: "_layouts",
},
};
};