blob: b65c9db577cc81baae69646ff8b5ffcd5bc0e46c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import SlideListPage from "../pages/SlideListPage.ts";
import { Config } from "../config.ts";
import { Page } from "../page.ts";
import { SlidePage } from "./slide.ts";
export type SlideListPage = Page;
export async function generateSlideListPage(
slides: SlidePage[],
config: Config,
): Promise<SlideListPage> {
const html = await SlideListPage(slides, config);
return {
root: html,
renderer: "html",
site: "slides",
destFilePath: "/slides/index.html",
href: "/slides/",
};
}
|