diff options
Diffstat (limited to '.eleventy.js')
-rw-r--r-- | .eleventy.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.eleventy.js b/.eleventy.js new file mode 100644 index 00000000..aa0771dc --- /dev/null +++ b/.eleventy.js @@ -0,0 +1,24 @@ +module.exports = function(config) { + + config.addLiquidFilter('group_by', () => {}) + + config.addCollection('icons', collection => + collection.getFilteredByGlob('icons/*.svg') + .sort((a, b) => { + console.log('a', a); + + return b.date - a.date + }) + ) + + return { + dir: { + input: "src", + + includes: "_includes", + layouts: "_layouts", + data: "_data", + } + } + +}; |