Skip to content

Commit

Permalink
i18n(zh-cn): Update content-collections.mdx (#11093)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nin3lee authored Feb 28, 2025
1 parent 944b313 commit 56b30a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/content/docs/zh-cn/guides/content-collections.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,11 @@ import { glob, file } from 'astro/loaders'; // 不适用于旧版 API

const blog = defineCollection({
loader: glob({ pattern: "**/*.md", base: "./src/data/blog" }),
schema: /* ... */
schema: /* ... */
});
const dogs = defineCollection({
loader: file("src/data/dogs.json"),
schema: /* ... */
}),
schema: /* ... */
});

const probes = defineCollection({
Expand Down

0 comments on commit 56b30a2

Please sign in to comment.