feat: add categories and tags page (WIP)
This commit is contained in:
parent
1e7f0f9e4a
commit
00115ad5a0
6 changed files with 104 additions and 0 deletions
|
@ -5,6 +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([]),
|
||||
cover: image().optional(),
|
||||
author: z.string().optional(),
|
||||
});
|
|
@ -3,6 +3,10 @@ title: 'The Art of Minimalism'
|
|||
description: 'Thoughts on minimalism in design and code'
|
||||
pubDate: '2025-06-05'
|
||||
author: 'Wheatley'
|
||||
tags:
|
||||
- 'design'
|
||||
- 'code'
|
||||
- 'minimalism'
|
||||
---
|
||||
|
||||
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