mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-11 23:02:53 +01:00
fix: front-matter prop change
This commit is contained in:
@@ -5,10 +5,7 @@ const blogCollection = defineCollection({
|
||||
title: z.string(),
|
||||
published: z.date(),
|
||||
description: z.string().optional(),
|
||||
cover: z.object({
|
||||
url: z.string(),
|
||||
alt: z.string(),
|
||||
}),
|
||||
image: z.string().optional(),
|
||||
tags: z.array(z.string()).optional(),
|
||||
})
|
||||
})
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
title: 'Cover Image Example'
|
||||
published: 2023-09-01
|
||||
description: 'How to set a cover image using the cover attribute.'
|
||||
cover:
|
||||
url: 'https://saicaca.github.io/vivia-preview/assets/79905307_p0.jpg'
|
||||
alt:
|
||||
image: 'https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/208fc754-890d-4adb-9753-2c963332675d/width=2048/01651-1456859105-(colour_1.5),girl,_Blue,yellow,green,cyan,purple,red,pink,_best,8k,UHD,masterpiece,male%20focus,%201boy,gloves,%20ponytail,%20long%20hair,.jpeg'
|
||||
tags: ["Fuwari", "Blogging", "Customization"]
|
||||
---
|
||||
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
title: Markdown Example
|
||||
published: 2023-10-01
|
||||
description: A simple example of a Markdown blog post.
|
||||
cover:
|
||||
url:
|
||||
alt:
|
||||
image:
|
||||
tags: [Markdown, Blogging, Demo]
|
||||
categories: [Example]
|
||||
---
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
title: Include Video in the Posts
|
||||
published: 2022-08-01
|
||||
description: This post demonstrates how to include embedded video in a blog post.
|
||||
cover:
|
||||
url:
|
||||
alt:
|
||||
image:
|
||||
tags: [Example, Video]
|
||||
categories: []
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user