pipeline.ori: pages in folders

This commit is contained in:
Hans Fast 2026-03-18 16:07:23 +01:00
parent ad9f56baac
commit 129f82a82b
1 changed files with 8 additions and 1 deletions

View File

@ -50,11 +50,18 @@
then final output is `withSummary`, otherwise it's `privateRemoved`. then final output is `withSummary`, otherwise it's `privateRemoved`.
*/ */
privateRemoved: Tree.map(withSummary, removePrivate.js) 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)) 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 assets are relative to the pubfiles directory
*/ */