# PostFrontmatter

Source: https://ardo-docs.dev/v6/es/api-reference/types/postfrontmatter

Metadata authored in a post's YAML frontmatter. IDs are assigned once.

```ts
import type { PostFrontmatter } from "ardo/ui"

type PostFrontmatter = {
    id: string;
    title: string;
    description?: string;
    publishedAt: string;
    updatedAt?: string;
    authors: string[];
    tags?: string[];
    path?: string;
    draft?: boolean;
    coverImage?: PostImageInput;
    images?: Record<string, Omit<PostImageInput, "alt" | "src"> & {
        alt?: string;
    }>;
    /** Complete static Markdown article for portable outputs when MDX needs a replacement. */
    feedContent?: string;
};
```

## Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| ` id ` | ` string ` | Yes |  |
| ` title ` | ` string ` | Yes |  |
| ` description ` | ` string ` | No |  |
| ` publishedAt ` | ` string ` | Yes |  |
| ` updatedAt ` | ` string ` | No |  |
| ` authors ` | ` string[] ` | Yes |  |
| ` tags ` | ` string[] ` | No |  |
| ` path ` | ` string ` | No |  |
| ` draft ` | ` boolean ` | No |  |
| ` coverImage ` | [` PostImageInput `](<https://ardo-docs.dev/v6/es/api-reference/types/postimageinput/>) | No |  |
| ` images ` | ` Record<string, Omit< `[` PostImageInput `](<https://ardo-docs.dev/v6/es/api-reference/types/postimageinput/>)` , "alt" \| "src"> & { alt?: string }> ` | No |  |
| ` feedContent ` | ` string ` | No | Complete static Markdown article for portable outputs when MDX needs a replacement. |
