Skip to main content
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.13.2/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)

mergeLanguages: (pages: Record<string, Record<string, unknown>[]>) => unknown[]

The mergeLanguages helper

alternates: Record<string, Page>

Alternate pages (for languages)

optional
children: Children

The JSX children elements