Skip to content

Commit dff2bea

Browse files
committed
Format code
1 parent 811a142 commit dff2bea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// 1. Import utilities from `astro:content`
22
import { z, defineCollection } from "astro:content";
3-
import { glob } from 'astro/loaders';
3+
import { glob } from "astro/loaders";
44

55
// 2. Define your collection(s)
66
const testimonialCollection = defineCollection({
7-
loader: glob({ pattern: '**\/[^_]*.md', base: "./src/content/testimonials" }),
7+
loader: glob({ pattern: "[^_]*.md", base: "./src/content/testimonials" }),
88
schema: ({ image }) =>
99
z.object({
1010
title: z.string(),
@@ -16,7 +16,7 @@ const testimonialCollection = defineCollection({
1616
});
1717

1818
const sessionCollection = defineCollection({
19-
loader: glob({ pattern: '**\/[^_]*.md', base: "./src/content/sessions" }),
19+
loader: glob({ pattern: "**/[^_]*.md", base: "./src/content/sessions" }),
2020
schema: ({ image }) => {
2121
return z.object({
2222
title: z.string(),
@@ -36,7 +36,7 @@ const sessionCollection = defineCollection({
3636
});
3737

3838
const blogCollection = defineCollection({
39-
loader: glob({ pattern: '**\/[^_]*.md', base: "./src/content/blog" }),
39+
loader: glob({ pattern: "**/[^_]*.md", base: "./src/content/blog" }),
4040
schema: ({ image }) => {
4141
return z.object({
4242
title: z.string(),

0 commit comments

Comments
 (0)