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

x/lume/core.ts>PageData

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

Properties

optional
lang: string | string[]

The language(s) of the page

optional
title: string

The title of the page

url: string | false

The page url

page: Page

The page reference

optional
comp: any

The available components

paginate: Paginator

The paginator helper

optional
pagination: PaginationInfo

The pagination info

optional
results: Page[]

The pagination result

optional
imagick: Transformation | Transformation[]

Image transformations

optional
metas: MetaData

Meta elements

optional
netlify_cms: Record<string, unknown>

Netlify CMS configuration

optional
sourceMap: SourceMap

The source map data (if it's an asset)

optional
alternates: PageData[]

Alternate pages (for languages)

optional
children: Children

The JSX children elements