pipeline.ori: don't add html ext in the first place
This commit is contained in:
parent
dcf462ee96
commit
6155f7e598
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue