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

x/lume/core.ts>Format

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

Properties

ext: string

The file extension for this format

optional
pageLoader: Loader

The file loader used for this format

optional
dataLoader: Loader

Loader for _data files in this format

optional
componentLoader: Loader

Loader for _components files in this format

optional
engines: Engine[]

The template engines used to render this format Used to render the page and components

optional
asset: boolean

This is used to distinguish between pages that output html files (like index.njk -> index.html) and pages that output assets (like styles.css -> styles.css).

optional
includesPath: string

A custom path for includes

optional
copy: boolean | ((path: string) => string)

Whether this file must be copied instead loaded