Module

x/lume/core/formats.ts>Format

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

Properties

ext: string

The file extension for this format

optional
pageType: "page" | "asset"

The type of page

optional
loader: Loader

The file loader used for this format (used by pages, includes, components, etc)

optional
assetLoader: Loader

The loader used as asset

optional
dataLoader: Loader

Loader for _data files in this format

optional
engines: Engine[]

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

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

Whether this file must be copied instead loaded