aboutsummaryrefslogtreecommitdiff
path: root/src/utils/schemas/blogSchema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/schemas/blogSchema.ts')
-rw-r--r--src/utils/schemas/blogSchema.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/schemas/blogSchema.ts b/src/utils/schemas/blogSchema.ts
index 54e2fca..66a9bae 100644
--- a/src/utils/schemas/blogSchema.ts
+++ b/src/utils/schemas/blogSchema.ts
@@ -2,9 +2,9 @@ import type { WithContext, CollectionPage } from "schema-dts";
import type { CollectionEntry } from "astro:content";
export type BlogSchemaParams = {
+ readonly posts: CollectionEntry<"blog">[];
readonly siteUrl: string;
readonly title: string;
- readonly posts: CollectionEntry<"blog">[];
};
export default ({ siteUrl, title, posts }: BlogSchemaParams): WithContext<CollectionPage> => ({