pipeline.ori/documents: clarification
This commit is contained in:
parent
4561924030
commit
94f04f18a1
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue