Zum Inhalt springen
⌘K

PublicationIndexMetaArgs

Als Markdown ansehen
Auf dieser Seite
Diese API-Referenz wird aus den englischen TypeScript-Quellkommentaren erzeugt. Namen, Signaturen und Beispiele entsprechen dem veröffentlichten Paket.

What a publication route module's meta export receives. defaults are the descriptors Ardo would render without the export, a new list on every call; the returned list replaces them, so spread defaults to extend them. The publication, post, and tag data is frozen and shared with the page.

import type { PublicationIndexMetaArgs } from "ardo/ui"

type PublicationIndexMetaArgs = {
    publication: Publication;
    defaults: ArdoMetaDescriptor[];
};

Properties

NameTypeRequired
publicationPublicationYes
defaultsArdoMetaDescriptor[]Yes