summary refs log tree commit diff
path: root/eleventy.config.js
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2023-05-17 23:48:16 -0500
committerStarfall <us@starfall.systems>2023-05-24 12:51:23 -0500
commit1df389da097411e437aa33aa104132bc593e1ed4 (patch)
tree73436a20e5431f8a993c0ab700b21da52e9290ec /eleventy.config.js
parent59b4b8a05c0db82ffec953f0e2e6e484c6e74b45 (diff)
feature: use eleventyNavigation plugin for nav
Diffstat (limited to 'eleventy.config.js')
-rw-r--r--eleventy.config.js6
1 files changed, 5 insertions, 1 deletions
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)