From 1df389da097411e437aa33aa104132bc593e1ed4 Mon Sep 17 00:00:00 2001 From: Starfall Date: Wed, 17 May 2023 23:48:16 -0500 Subject: feature: use eleventyNavigation plugin for nav --- eleventy.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'eleventy.config.js') diff --git a/eleventy.config.js b/eleventy.config.js index 05a4db3..36722b2 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -1,3 +1,6 @@ +const toml = require('@iarna/toml') +const eleventyNavigation = require('@11ty/eleventy-navigation') + filter_local_date = function(date) { // yyyy-MM-dd return date.getFullYear() + '-' @@ -11,9 +14,10 @@ filter_rfc3339_datetime = function(date) { return date.toISOString().replace('T', ' '); } -const toml = require('@iarna/toml') module.exports = function(eleventyConfig) { + eleventyConfig.addPlugin(eleventyNavigation) + eleventyConfig.addPassthroughCopy('./css/') eleventyConfig.addFilter('local_date', filter_local_date) -- cgit