import { Renderer } from "https://deno.land/x/lume@v1.15.3/core.ts";
The renderer is responsible for rendering the site pages in the right order and using the right template engine.
Methods
addHelper()
name: string,
fn: Helper,
options: HelperOptions,
Register a new helper used by the template engines
render<T>(): Promise<T>
content: unknown,
data: Data,
filename: string,
Render a template
renderPageOnDemand(page: Page): Promise<void>
Render the provided pages
renderPages(): Promise<void>
from: Page[],
to: Page[],
onDemand: Page[],
Render the provided pages