[]previous and next page

MetadataTitle

The title.

The title. A string is the page title (a layout's template wraps it). The object form sets a default used when no page sets one, a template for the titles below (%s is replaced), or an absolute title that skips the template.

Import#

ts
import type { MetadataTitle } from "@shadow-js/dusk";

Signature#

ts
type MetadataTitle =
  | string
  | {
      readonly default?: string;
      readonly template?: string | null;
      readonly absolute?: string;
    }