mirror of
https://github.com/Fluffy-Bean/website.git
synced 2025-05-29 14:53:16 +00:00
Add timestamps to posts
Redesign homebutton a bit arugh Clean up Card stuff
This commit is contained in:
parent
59f1904d88
commit
b22adbda96
11 changed files with 87 additions and 45 deletions
|
@ -6,7 +6,7 @@ const postsCollection = defineCollection({
|
|||
draft: z.boolean().optional().default(false),
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
date: z.string().transform((str) => new Date(str)),
|
||||
pubDate: z.string().transform((str) => new Date(str)),
|
||||
tags: z.array(z.string()),
|
||||
}),
|
||||
});
|
||||
|
@ -17,6 +17,7 @@ const projectsCollection = defineCollection({
|
|||
draft: z.boolean().optional().default(false),
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
pubDate: z.string().transform((str) => new Date(str)),
|
||||
tags: z.array(z.string()),
|
||||
}),
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: GwaGwa
|
||||
description: This astro page
|
||||
description: This is a very very very very very very very very very very very very long description of a post
|
||||
tags:
|
||||
- "GwaGwa"
|
||||
- "Gaming"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue