pipeline.ori: pages in folders
This commit is contained in:
parent
ad9f56baac
commit
129f82a82b
|
|
@ -50,11 +50,18 @@
|
|||
then final output is `withSummary`, otherwise it's `privateRemoved`.
|
||||
*/
|
||||
privateRemoved: Tree.map(withSummary, removePrivate.js)
|
||||
final: (all ? withSummary : privateRemoved)
|
||||
final: (all ? withSummary : privateRemoved) → (tree) => Tree.mapExtension(tree, '.html→')
|
||||
|
||||
|
||||
renderedPages: Tree.map(final, (page) => <page.ori>(page, all))
|
||||
|
||||
pagesInFolders: Tree.map(renderedPages, {
|
||||
value: (value) => {
|
||||
index.html: value
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
/*
|
||||
assets are relative to the pubfiles directory
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue