pipeline.ori: don't add html ext in the first place

This commit is contained in:
Hans Fast 2026-03-22 15:08:47 +01:00
parent dcf462ee96
commit 6155f7e598
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
*/
asHtml: Tree.map(all ? withfndata: pubfiles, {
value: (value) => Origami.mdHtml(value)
key: (value, key) => `${value.fnd.name}.html`
key: (value, key) => `${value.fnd.name}`
})
/*
@ -50,7 +50,7 @@
then final output is `withSummary`, otherwise it's `privateRemoved`.
*/
privateRemoved: Tree.map(withSummary, removePrivate.js)
final: (all ? withSummary : privateRemoved ) → (tree) => Tree.mapExtension(tree, '.html→')
final: (all ? withSummary : privateRemoved )
renderedPages: Tree.map(final, (page) => <page.ori>(page, all))