diff --git a/pipeline.ori b/pipeline.ori index c887ea1..2a62bcd 100644 --- a/pipeline.ori +++ b/pipeline.ori @@ -45,12 +45,12 @@ withSummary: Tree.map(asHtml, extractSummary.js) /* - Removing private content coming below the html comment `` + Removing private content coming below the html paragraph `
—private-below—
` Only remove this if in public mode. So if this file is called as `site.ori("all")`, 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 ) → (tree) => Tree.mapExtension(tree, '.html→') renderedPages: Tree.map(final, (page) =>—private-below—<\/p>.+$/s export default (doc) => { const result = reg.exec(doc._body); if (result) {