fix: no 'uncategorized' category in categories page
This commit is contained in:
parent
6e89919cd4
commit
b103c045e2
3 changed files with 12 additions and 7 deletions
|
@ -5,8 +5,8 @@ export const posts = ({ image }) => z.object({
|
|||
description: z.string(),
|
||||
pubDate: z.coerce.date(),
|
||||
updatedDate: z.coerce.date().optional(),
|
||||
categories: z.array(z.string()).optional().default(['uncategorized']),
|
||||
tags: z.array(z.string()).optional().default([]),
|
||||
categories: z.array(z.string()).default(['uncategorized']),
|
||||
tags: z.array(z.string()).optional(),
|
||||
cover: image().optional(),
|
||||
author: z.string().optional(),
|
||||
});
|
|
@ -7,6 +7,8 @@ tags:
|
|||
- 'design'
|
||||
- 'code'
|
||||
- 'minimalism'
|
||||
categories:
|
||||
- 'thinking'
|
||||
---
|
||||
|
||||
Minimalism isn't just about having less, it's about making room for what matters.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue