From 0a17495d5a2fdc7d6b484b353e9a0a022ead2e35 Mon Sep 17 00:00:00 2001 From: Jan Miksovsky Date: Wed, 8 Jan 2025 11:07:47 -0800 Subject: [PATCH] Since there's only one level of files in the data/pages tree, we only need one level of `map` to handle them --- src/site.ori | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site.ori b/src/site.ori index 830066d..e80306e 100644 --- a/src/site.ori +++ b/src/site.ori @@ -3,6 +3,6 @@ templates index.html = templates/default.ori.html("Welcome to the index page!") views = (views.ori/) - ...map(map(data/pages, page.ori), {extension: '.ori.md->.html'}) + ...map(data/pages, { extension: '.ori.md->.html', value: page.ori }) favicon.ico }