-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
If site files supported rules like:
(page
index.md
(with-generator Index.re))Then perhaps we can define Index.re to be:
open Cactus;
include Cactus.Generator.Make({
let render = (ctx, project, site, page) => {
/* and here we can transform the Index.md page using Omd */
};
});This would allow to treat pages as inputs to modules, which can then do really just any amount of side-effects to transform them (including any I/O).
xrefs: #8
Metadata
Metadata
Assignees
Labels
No labels