Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/core/page_preparer.ts>default

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class default
import { default } from "https://deno.land/x/lume@v1.14.1/core/page_preparer.ts";

Class to prepare pages before rendering, completing the missing data

Constructors

new
default(options: Options)

Properties

prettyUrls: boolean
src: string

Methods

getData(entry: Page | Directory, parentData: Data): PageData

Return the data associated with a page or folder

getDate(page: Page): Date

Returns the date assigned to a page

getUrl(page: Page, parentPath: string): string | false

Returns the final URL assigned to a page