lewisdale.dev/config/filters/index.js
2023-02-13 13:35:44 +00:00

9 lines
278 B
JavaScript

const dateFilters = require('./dates');
const arrayFilters = require('./arrays');
module.exports = function(eleventyConfig) {
eleventyConfig.addPlugin(dateFilters);
eleventyConfig.addPlugin(arrayFilters);
eleventyConfig.addFilter('keys', obj => Object.keys(obj))
}