mirror of
https://github.com/Fluffy-Bean/website.git
synced 2025-06-02 00:33:14 +00:00
Markdown Syntax highlighting
Vitesse theme Draft tag in posts leg
This commit is contained in:
parent
fcc026d06d
commit
a09d21f28c
11 changed files with 1359 additions and 49 deletions
|
@ -3,6 +3,7 @@ import { z, defineCollection } from "astro:content";
|
|||
const postsCollection = defineCollection({
|
||||
type: "content",
|
||||
schema: z.object({
|
||||
draft: z.boolean().optional(),
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
pubDate: z.date(),
|
||||
|
@ -14,6 +15,7 @@ const postsCollection = defineCollection({
|
|||
const projectsCollection = defineCollection({
|
||||
type: "content",
|
||||
schema: z.object({
|
||||
draft: z.boolean().optional(),
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
image: z.string().optional(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue