Skip to main content
Module

x/lume/plugins/metas.ts>MetaData

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

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
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)