feat: rename eleventy config file
This commit is contained in:
parent
ec00e2e544
commit
c008d223f6
2 changed files with 2 additions and 0 deletions
29
.eleventy.js
29
.eleventy.js
|
@ -1,29 +0,0 @@
|
|||
module.exports = (eleventyConfig) => {
|
||||
eleventyConfig.addWatchTarget("./src/assets");
|
||||
|
||||
// --------------------- Custom Template Languages ---------------------
|
||||
eleventyConfig.addPlugin(
|
||||
require("./config/template-languages/css-config.js"),
|
||||
);
|
||||
|
||||
// --------------------- Passthrough File Copy -----------------------
|
||||
["src/assets/fonts/"].forEach((path) =>
|
||||
eleventyConfig.addPassthroughCopy(path),
|
||||
);
|
||||
|
||||
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",
|
||||
},
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue