blob: 1839f5dd42757b6253707ff6c0045894512ce531 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import HomePage from "../pages/HomePage.ts";
import { Config } from "../config.ts";
import { Page } from "../page.ts";
export type HomePage = Page;
export async function generateHomePage(config: Config): Promise<HomePage> {
const html = await HomePage(config);
return {
root: html,
renderer: "html",
site: "default",
destFilePath: "/index.html",
href: "/",
};
}
|