Module

x/lume/plugins/metas.ts>MetaData

🔥 Static site generator for Deno 🦕
Very Popular
Latest
interface MetaData
import { type MetaData } from "https://dotland.deno.dev/x/lume@v2.4.2/plugins/metas.ts";

Index Signatures

[name: string]: any

Properties

optional
type: string | ((data: Data) => string | undefined)

The type of the site default is website

optional
site: string | ((data: Data) => string | undefined)

The name of the site

optional
title: string | ((data: Data) => string | undefined)

The title of the page

optional
lang: string | ((data: Data) => string | undefined)

The page language

optional
description: string | ((data: Data) => string | undefined)

The description of the page

optional
image: string | ((data: Data) => string | undefined)

The image of the page

optional
icon: string | ((data: Data) => string | undefined)

The icon of the site

optional
keywords: string[] | ((data: Data) => string[] | undefined)

The page keywords

optional
twitter: string | ((data: Data) => string | undefined)

The twitter username

optional
fediverse: string | ((data: Data) => string | undefined)

The fediverse username (for author attribution)

optional
color: string | ((data: Data) => string | undefined)

The color theme

optional
robots: string | boolean | ((data: Data) => string | boolean | undefined)

Robots configuration (Boolean to enable/disable, String for a custom value)

optional
generator: string | boolean | ((data: Data) => string | boolean | undefined)

Whether include the generator or not (Boolean to enable/disable, String for a custom value)