Skip to content
⌘K

Publication

On this page
import type { Publication } from "ardo/ui"

type Publication = {
    imagePresets: Record<string, ImagePreset>;
    name: string;
    description?: string;
    path: string;
    url: string;
    atomUrl: string;
    rssUrl: string;
    posts: readonly Post[];
    /** Tag archives, ordered by key. Present only when `tags` is enabled. */
    tags?: readonly PublicationTag[];
};

Properties

NameTypeRequiredDescription
imagePresetsRecord<string, ImagePreset>Yes
namestringYes
descriptionstringNo
pathstringYes
urlstringYes
atomUrlstringYes
rssUrlstringYes
postsreadonly Post[]Yes
tagsreadonly PublicationTag[]NoTag archives, ordered by key. Present only when tags is enabled.