diff --git a/src/content/_schemas.ts b/src/content/_schemas.ts index 4d3fab7..50a9d71 100644 --- a/src/content/_schemas.ts +++ b/src/content/_schemas.ts @@ -8,12 +8,7 @@ export const blogSchema = z.object({ featured: z.boolean(), draft: z.boolean(), tags: z.array(z.string()), - ogImage: z - .object({ - src: z.string(), - alt: z.string().optional(), - }) - .optional(), + ogImage: z.string().optional(), description: z.string(), }); diff --git a/src/content/blog/How do i build this.md b/src/content/blog/How do i build this.md new file mode 100644 index 0000000..c20b8c6 --- /dev/null +++ b/src/content/blog/How do i build this.md @@ -0,0 +1,16 @@ +--- +author: Sat Naing +pubDatetime: 2022-09-23T15:22:00Z +title: Adding new posts in AstroPaper theme +postSlug: adding-new-posts-in-astropaper-theme +featured: true +draft: false +tags: + - docs +ogImage: "" +description: + Some rules & recommendations for creating or adding new posts using AstroPaper + theme. +--- + +Here are some rules/recommendations, tips & ticks for creating new posts in AstroPaper blog theme. diff --git a/src/content/blog/adding-new-post.md b/src/content/blog/adding-new-post.md index 650848b..b77ecb9 100644 --- a/src/content/blog/adding-new-post.md +++ b/src/content/blog/adding-new-post.md @@ -7,9 +7,7 @@ featured: true draft: false tags: - docs -ogImage: - src: "" - alt: "" +ogImage: "" description: Some rules & recommendations for creating or adding new posts using AstroPaper theme. diff --git a/src/content/blog/customizing-astropaper-theme-color-schemes.md b/src/content/blog/customizing-astropaper-theme-color-schemes.md index 8bcd364..04021c8 100644 --- a/src/content/blog/customizing-astropaper-theme-color-schemes.md +++ b/src/content/blog/customizing-astropaper-theme-color-schemes.md @@ -8,9 +8,7 @@ draft: false tags: - color-schemes - docs -ogImage: - src: "" - alt: "" +ogImage: "" description: How you can enable/disable light & dark mode; and customize color schemes of AstroPaper theme. diff --git a/src/content/blog/dynamic-og-images.md b/src/content/blog/dynamic-og-images.md index 238098d..096ef0e 100644 --- a/src/content/blog/dynamic-og-images.md +++ b/src/content/blog/dynamic-og-images.md @@ -8,9 +8,7 @@ draft: false tags: - docs - release -ogImage: - src: "" - alt: "" +ogImage: "" description: New feature in AstroPaper v1.4.0, introducing dynamic OG image generation for blog posts. --- diff --git a/src/content/blog/how-to-configure-astropaper-theme.md b/src/content/blog/how-to-configure-astropaper-theme.md index 12919cb..afff1e0 100644 --- a/src/content/blog/how-to-configure-astropaper-theme.md +++ b/src/content/blog/how-to-configure-astropaper-theme.md @@ -8,9 +8,7 @@ draft: false tags: - configuration - docs -ogImage: - src: "" - alt: "" +ogImage: "" description: How you can make AstroPaper theme absolutely yours. --- diff --git a/src/content/blog/how-to-connect-astro-paper-blog-with-forestry-cms.md b/src/content/blog/how-to-connect-astro-paper-blog-with-forestry-cms.md index 05b80d2..7b6ec17 100644 --- a/src/content/blog/how-to-connect-astro-paper-blog-with-forestry-cms.md +++ b/src/content/blog/how-to-connect-astro-paper-blog-with-forestry-cms.md @@ -9,9 +9,7 @@ tags: - docs - forestry-cms - astro-paper -ogImage: - src: https://res.cloudinary.com/noezectz/v1663745737/astro-paper/astropaper-x-forestry-og_kqfwp0.png - alt: "" +ogImage: https://res.cloudinary.com/noezectz/v1663745737/astro-paper/astropaper-x-forestry-og_kqfwp0.png description: Step by step process of connecting Astro-Paper blog theme with Forestry Headless CMS. diff --git a/src/content/blog/portfolio-website-development.md b/src/content/blog/portfolio-website-development.md index 0923862..d5f8c0b 100644 --- a/src/content/blog/portfolio-website-development.md +++ b/src/content/blog/portfolio-website-development.md @@ -10,9 +10,7 @@ tags: - TailwindCSS - HeadlessCMS - Blog -ogImage: - src: "" - alt: "" +ogImage: "" description: "EXAMPLE POST: My experience about developing my first portfolio website and a blog using NextJS and a headless CMS." diff --git a/src/content/blog/predefined-color-schemes.md b/src/content/blog/predefined-color-schemes.md index ee1d111..c502175 100644 --- a/src/content/blog/predefined-color-schemes.md +++ b/src/content/blog/predefined-color-schemes.md @@ -7,9 +7,7 @@ featured: false draft: false tags: - color-schemes -ogImage: - src: "" - alt: "" +ogImage: "" description: Some of the well-crafted, predefined color schemes for AstroPaper blog theme. diff --git a/src/content/blog/tailwind-typography.md b/src/content/blog/tailwind-typography.md index 1ae118f..b55e0cf 100644 --- a/src/content/blog/tailwind-typography.md +++ b/src/content/blog/tailwind-typography.md @@ -7,9 +7,7 @@ draft: false tags: - TypeScript - Astro -ogImage: - src: "" - alt: "" +ogImage: "" description: "EXAMPLE POST: About Tailwind Typography Plugin and how you can use it effectively." ---