forked from samuel-p/sp-codes.de
Merge pull request 'updated .eleventy.js' (#96) from develop into main
Reviewed-on: samuel-p/sp-codes.de#96
This commit is contained in:
commit
a5198b3629
1 changed files with 8 additions and 0 deletions
|
@ -44,10 +44,18 @@ module.exports = function (eleventyConfig) {
|
||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
// Pre-process *.md files with: (default: `liquid`)
|
||||||
|
markdownTemplateEngine: "njk",
|
||||||
|
// Pre-process *.html files with: (default: `liquid`)
|
||||||
|
htmlTemplateEngine: "njk",
|
||||||
|
// Opt-out of pre-processing global data JSON files: (default: `liquid`)
|
||||||
|
dataTemplateEngine: false,
|
||||||
|
|
||||||
dir: {
|
dir: {
|
||||||
input: "src",
|
input: "src",
|
||||||
includes: "_includes",
|
includes: "_includes",
|
||||||
layouts: "_includes/layouts",
|
layouts: "_includes/layouts",
|
||||||
|
data: "_data",
|
||||||
output: "dist"
|
output: "dist"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue