Skip to main content
Module

x/lume/core.ts>Data

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface Data
Re-export
import { type Data } from "https://deno.land/x/lume@v1.13.2/core.ts";

The data of a page

Index Signatures

[index: string]: any

Properties

optional
tags: string[]

List of tags assigned to a page or folder

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

The url of a page

optional
draft: boolean

If is true, the page will be visible only in dev mode

optional
date: Date

The date creation of the page

optional
renderOrder: number

To configure the render 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, "array" | "stringArray" | "object">

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

optional
ondemand: boolean

Whether render this page on demand or not

optional
comp: ProxyComponents

The available components

optional
page: Page

The page object