feat(11ty): config tempate engines and file copy

This commit is contained in:
Oscar 2019-11-12 15:17:44 +01:00
parent 6455825e6b
commit 4d4a9c9d5a

View File

@ -36,8 +36,12 @@ module.exports = function (config) {
// You can return your Config object (optional). // You can return your Config object (optional).
return { return {
dir: { dir: {
input: "11ty", input: '11ty',
output: "dist" output: 'dist'
} },
templateFormats: ['njk', 'md'],
htmlTemplateEngine: 'njk',
markdownTemplateEngine: 'njk',
passthroughFileCopy: true
}; };
}; };