aboutsummaryrefslogtreecommitdiffstats
path: root/src/content.config.ts
diff options
context:
space:
mode:
authorNikhil M Warrier <nikhilmw.dev@gmail.com>2026-03-03 09:00:53 +0530
committerNikhil M Warrier <nikhilmw.dev@gmail.com>2026-03-03 09:00:53 +0530
commitc1c7ca70783cbb38cf35fe0c9fb05dd626f46c08 (patch)
tree2941afd019e4e073f195929ede6792a6d45af5dd /src/content.config.ts
parentb1cc6aef5d01b59daf64d12a8e9264324540d8b7 (diff)
Rename Author to Member, add Codeberg icons
Diffstat (limited to 'src/content.config.ts')
-rw-r--r--src/content.config.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/content.config.ts b/src/content.config.ts
index 1c01708..d18d704 100644
--- a/src/content.config.ts
+++ b/src/content.config.ts
@@ -30,8 +30,8 @@ const blog = defineCollection({
}),
})
-const authors = defineCollection({
- loader: glob({ pattern: '**/*.{md,mdx}', base: './src/content/authors' }),
+const members = defineCollection({
+ loader: glob({ pattern: '**/*.{md,mdx}', base: './src/content/members' }),
schema: z.object({
name: z.string(),
pronouns: z.string().optional(),
@@ -41,6 +41,7 @@ const authors = defineCollection({
website: z.string().url().optional(),
twitter: z.string().url().optional(),
github: z.string().url().optional(),
+ codeberg: z.string().url().optional(),
linkedin: z.string().url().optional(),
discord: z.string().url().optional(),
}),
@@ -60,4 +61,4 @@ const projects = defineCollection({
}),
})
-export const collections = { events, blog, authors, projects }
+export const collections = { events, blog, members, projects }