From 4d4a9c9d5ad41c11f3975170306c154c4918cbd6 Mon Sep 17 00:00:00 2001 From: Oscar Date: Tue, 12 Nov 2019 15:17:44 +0100 Subject: [PATCH] feat(11ty): config tempate engines and file copy --- .eleventy.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 06afb7e9..80dc39a1 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -36,8 +36,12 @@ module.exports = function (config) { // You can return your Config object (optional). return { dir: { - input: "11ty", - output: "dist" - } + input: '11ty', + output: 'dist' + }, + templateFormats: ['njk', 'md'], + htmlTemplateEngine: 'njk', + markdownTemplateEngine: 'njk', + passthroughFileCopy: true }; };