Skip to content

Commit 3ac5e53

Browse files
Merge pull request #8 from OpenSecFlow/feat/auto-pr
Feat/auto pr
2 parents 872a1f7 + 7fb0933 commit 3ac5e53

18 files changed

+215
-1186
lines changed

src/content.config.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,22 @@ const tutorials = defineCollection({
3333
}),
3434
});
3535

36+
const blog = defineCollection({
37+
type: 'content',
38+
schema: z.object({
39+
title: z.string(),
40+
description: z.string(),
41+
pubDate: z.coerce.date(),
42+
updatedDate: z.coerce.date().optional(),
43+
heroImage: z.string().optional(),
44+
tags: z.array(z.string()).optional(),
45+
externalLink: z.string().url().optional(),
46+
}),
47+
});
48+
3649
export const collections = {
3750
videos,
3851
tutorials,
52+
blog,
3953
};
4054

src/content/blog/astro-db-migration.md

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/content/blog/asyncssh-concurrency.md

Lines changed: 0 additions & 72 deletions
This file was deleted.

src/content/blog/cicd-network-automation.md

Lines changed: 0 additions & 126 deletions
This file was deleted.

src/content/blog/cli-to-api-conversion.md

Lines changed: 0 additions & 109 deletions
This file was deleted.

0 commit comments

Comments
 (0)