Merge pull request 'updated .eleventy.js' (#96) from develop into main

Reviewed-on: samuel-p/sp-codes.de#96
This commit is contained in:
Samuel Philipp 2021-10-24 19:46:37 +00:00
commit a5198b3629

View file

@ -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"
} }
}; };