deno.land / x / lume@v2.1.4 / tests / assets / normal / pages / 2021-01-02-18-32_page4.page.ts

2021-01-02-18-32_page4.page.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { Data } from "../../../../core/file.ts";
export const title = "Page 4";export const site = "Overrided site name";
interface PageData extends Data { title: string; site: string;}
export default function ({ title, site, page }: PageData) { return Promise.resolve( `Content of ${title} in ${site}, from the file ${ page.src.path + page.src.ext }`, );}
lume

Version Info

Tagged at
7 months ago