From 94f04f18a132627cd52dfccde341ba0322901603 Mon Sep 17 00:00:00 2001 From: Hans Fast Date: Thu, 26 Mar 2026 09:53:07 +0100 Subject: [PATCH] pipeline.ori/documents: clarification --- pipeline.ori | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline.ori b/pipeline.ori index aca4496..dc92e28 100644 --- a/pipeline.ori +++ b/pipeline.ori @@ -25,7 +25,7 @@ // pubfiles: pubfiles.sh(allfiles) (list): .. allfiles: Tree.filter(list, (val, key) => key.endsWith('.md') && !key.startsWith('_')) - documents: Tree.map(allfiles, {value: (value) => Origami.document(value)}) //if I don't use the verbose syntax I get the filename characters as part of value! + documents: Tree.map(allfiles, {value: (value) => Origami.document(value)}) //if I don't use the verbose syntax I get the filename characters as part of value, because Origami.document takes the key as its 'data' parameter. withfilenamedata: Tree.map(documents, { value: (value, key) => ./filenamedata/addFilenameData.js(value, Origami.slash.remove(key))}) //files now have a key `fnd` for 'filenamedata`. This contains address, title, and tags parsed from the filename.