Skip to content

Commit 5d67693

Browse files
committed
feat: we are back news
1 parent 172508d commit 5d67693

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

src/contents.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
import { z, defineCollection } from 'astro:content';
1+
import { z, defineCollection, reference } from 'astro:content';
22
import { glob } from 'astro/loaders';
33

44
const blog = defineCollection({
55
loader: glob({ pattern: '**/*.md', base: 'src/content/blog' }),
66
schema: z.object({
77
title: z.string(),
8+
author: reference('authors'),
89
date: z.date(),
910
desc: z.date(),
1011
}),
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: We are Back!
3+
author: eveeifyeve
4+
date: 2024-3-16
5+
desc: We are officially back to cordevall
6+
---
7+
8+
Today we are officially back to Cordevall! This is some exciting news.
9+
I will be working on discord bot templates such as the Typescript/JavaScript, Go & Python Bots.
10+
I encouage you to contribute to the repos of these bots.
11+
12+
I will be refreshing this website this month so stay tuned for a new improved refresh.

0 commit comments

Comments
 (0)