Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method PageGenerator.prototype.generateContentFromData
import { PageGenerator } from "https://deno.land/x/frugal@0.2.1/packages/core/PageGenerator.ts";

Generate the content of a page form its data and path

Parameters

pathname: string
unnamed 1: ContentGenerationContext<DATA, PATH>

Returns

Promise<{ pagePath: string; content: string; }>