diff --git a/.eleventy.js b/.eleventy.js index 6172cdf..d48d7ac 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -33,6 +33,10 @@ module.exports = function(eleventyConfig) { return array.slice(0, n); }); + eleventyConfig.addFilter("min", (...numbers) => { + return Math.min.apply(null, numbers); + }); + eleventyConfig.addCollection("tagList", function(collection) { let tagSet = new Set(); collection.getAll().forEach(function(item) { diff --git a/index.njk b/index.njk index 6d5df8b..d492062 100644 --- a/index.njk +++ b/index.njk @@ -5,7 +5,8 @@ eleventyNavigation: order: 1 --- -