Module

x/lume/core/file.ts>RawData

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface RawData
import { type RawData } from "https://dotland.deno.dev/x/lume@v2.1.4/core/file.ts";

The data of a page declared initially

Index Signatures

[index: string]: any

Properties

optional
tags: string | string[]

List of tags assigned to a page or folder

optional
url: string | false | ((page: Page) => string | false)

The url of a page

optional
basename: string

The basename of a page

optional
draft: boolean

Mark the page as a draft

optional
date: Date | string | number

The date creation of the page

optional
renderOrder: number

To configure the rendering order of a page

optional
content: unknown

The raw content of a page

optional
layout: string

The layout used to render a page

optional
templateEngine: string | string[]

To configure a different template engine(s) to render a page

optional
mergedKeys: Record<string, MergeStrategy>

To configure how some data keys will be merged with the parent

optional
onDemand: boolean

Whether render this page on demand or not