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.