Skip to content
⌘K

PublicationIndexMetaArgs

On this page

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