shadowfacts.net/lib/generate/homepage.ts

6 lines
200 B
TypeScript
Raw Normal View History

2019-01-04 18:14:53 +00:00
import { Page } from "../metadata";
import generatePaginated from "./paginated";
export default async function homepage(posts: Page[]) {
await generatePaginated(posts, "/", "site/index.html.ejs");
}