mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-22 17:30:00 +00:00
feat(11ty): config tempate engines and file copy
This commit is contained in:
parent
6455825e6b
commit
4d4a9c9d5a
10
.eleventy.js
10
.eleventy.js
@ -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
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user