refactor: move blog posts under content directory

This commit is contained in:
satnaing
2023-01-28 00:29:15 +06:30
parent d815b5b9b2
commit 041f5412f8
10 changed files with 46 additions and 28 deletions
@@ -1,13 +1,15 @@
--- ---
author: Sat Naing author: Sat Naing
datetime: 2022-09-23T15:22:00Z pubDatetime: 2022-09-23T15:22:00Z
title: Adding new posts in AstroPaper theme title: Adding new posts in AstroPaper theme
slug: adding-new-posts-in-astropaper-theme postSlug: adding-new-posts-in-astropaper-theme
featured: true featured: true
draft: false draft: false
tags: tags:
- docs - docs
ogImage: "" ogImage:
src: ""
alt: ""
description: description:
Some rules & recommendations for creating or adding new posts using AstroPaper Some rules & recommendations for creating or adding new posts using AstroPaper
theme. theme.
@@ -28,7 +30,7 @@ Here is the list of frontmatter property for each post.
| **_title_** | Title of the post. (h1) | required<sup>\*</sup> | | **_title_** | Title of the post. (h1) | required<sup>\*</sup> |
| **_description_** | Description of the post. Used in post excerpt and site description of the post. | default = SITE.desc | | **_description_** | Description of the post. Used in post excerpt and site description of the post. | default = SITE.desc |
| **_author_** | Author of the post. | default = SITE.author | | **_author_** | Author of the post. | default = SITE.author |
| **_datetime_** | Published datetime in ISO 8601 format. | | | **_datetime_** | Published pubDatetime in ISO 8601 format. | |
| **_slug_** | Slug for the post. Usually the all lowercase title seperated in `-` instead of whtiespace | default = slugified title | | **_slug_** | Slug for the post. Usually the all lowercase title seperated in `-` instead of whtiespace | default = slugified title |
| **_featured_** | Whether or not display this post in featured section of home page | default = false | | **_featured_** | Whether or not display this post in featured section of home page | default = false |
| **_draft_** | Mark this post 'unpublished'. | default = false | | **_draft_** | Mark this post 'unpublished'. | default = false |
@@ -48,8 +50,8 @@ Here is the sample frontmatter for the post.
--- ---
title: The title of the post title: The title of the post
author: your name author: your name
datetime: 2022-09-21T05:17:19Z pubDatetime: 2022-09-21T05:17:19Z
slug: the-title-of-the-post postSlug: the-title-of-the-post
featured: true featured: true
draft: false draft: false
tags: tags:
@@ -1,14 +1,16 @@
--- ---
author: Sat Naing author: Sat Naing
datetime: 2022-09-25T15:20:35Z pubDatetime: 2022-09-25T15:20:35Z
title: Customizing AstroPaper theme color schemes title: Customizing AstroPaper theme color schemes
slug: "" postSlug: ""
featured: false featured: false
draft: false draft: false
tags: tags:
- color-schemes - color-schemes
- docs - docs
ogImage: "" ogImage:
src: ""
alt: ""
description: description:
How you can enable/disable light & dark mode; and customize color schemes How you can enable/disable light & dark mode; and customize color schemes
of AstroPaper theme. of AstroPaper theme.
@@ -1,14 +1,16 @@
--- ---
author: Sat Naing author: Sat Naing
datetime: 2022-12-28T04:59:04.866Z pubDatetime: 2022-12-28T04:59:04.866Z
title: Dynamic OG image generation in AstroPaper blog posts title: Dynamic OG image generation in AstroPaper blog posts
slug: dynamic-og-image-generation-in-astropaper-blog-posts postSlug: dynamic-og-image-generation-in-astropaper-blog-posts
featured: false featured: false
draft: false draft: false
tags: tags:
- docs - docs
- release - release
ogImage: "" ogImage:
src: ""
alt: ""
description: New feature in AstroPaper v1.4.0, introducing dynamic OG image generation for blog posts. description: New feature in AstroPaper v1.4.0, introducing dynamic OG image generation for blog posts.
--- ---
@@ -1,14 +1,16 @@
--- ---
author: Sat Naing author: Sat Naing
datetime: 2022-09-23T04:58:53Z pubDatetime: 2022-09-23T04:58:53Z
title: How to configure AstroPaper theme title: How to configure AstroPaper theme
slug: how-to-configure-astropaper-theme postSlug: how-to-configure-astropaper-theme
featured: true featured: true
draft: false draft: false
tags: tags:
- configuration - configuration
- docs - docs
ogImage: "" ogImage:
src: ""
alt: ""
description: How you can make AstroPaper theme absolutely yours. description: How you can make AstroPaper theme absolutely yours.
--- ---
@@ -1,15 +1,17 @@
--- ---
title: How to connect AstroPaper blog with Forestry CMS title: How to connect AstroPaper blog with Forestry CMS
author: Sat Naing author: Sat Naing
datetime: 2022-09-21T05:17:19Z pubDatetime: 2022-09-21T05:17:19Z
slug: how-to-connect-astro-paper-blog-with-forestry-cms postSlug: how-to-connect-astro-paper-blog-with-forestry-cms
featured: true featured: true
draft: false draft: false
tags: tags:
- docs - docs
- forestry-cms - forestry-cms
- astro-paper - astro-paper
ogImage: https://res.cloudinary.com/noezectz/v1663745737/astro-paper/astropaper-x-forestry-og_kqfwp0.png ogImage:
src: https://res.cloudinary.com/noezectz/v1663745737/astro-paper/astropaper-x-forestry-og_kqfwp0.png
alt: ""
description: description:
Step by step process of connecting Astro-Paper blog theme with Forestry Step by step process of connecting Astro-Paper blog theme with Forestry
Headless CMS. Headless CMS.
@@ -1,8 +1,8 @@
--- ---
title: How Do I Develop My Portfolio Website & Blog title: How Do I Develop My Portfolio Website & Blog
author: Sat Naing author: Sat Naing
datetime: 2022-03-25T16:55:12.000+00:00 pubDatetime: 2022-03-25T16:55:12.000+00:00
slug: how-do-i-develop-my-portfolio-and-blog postSlug: how-do-i-develop-my-portfolio-and-blog
featured: false featured: false
draft: false draft: false
tags: tags:
@@ -10,6 +10,9 @@ tags:
- TailwindCSS - TailwindCSS
- HeadlessCMS - HeadlessCMS
- Blog - Blog
ogImage:
src: ""
alt: ""
description: description:
"EXAMPLE POST: My experience about developing my first portfolio website and a blog "EXAMPLE POST: My experience about developing my first portfolio website and a blog
using NextJS and a headless CMS." using NextJS and a headless CMS."
@@ -1,13 +1,15 @@
--- ---
author: Sat Naing author: Sat Naing
datetime: 2022-09-26T12:13:24Z pubDatetime: 2022-09-26T12:13:24Z
title: Predefined color schemes title: Predefined color schemes
slug: predefined-color-schemes postSlug: predefined-color-schemes
featured: false featured: false
draft: false draft: false
tags: tags:
- color-schemes - color-schemes
ogImage: "" ogImage:
src: ""
alt: ""
description: description:
Some of the well-crafted, predefined color schemes for AstroPaper blog Some of the well-crafted, predefined color schemes for AstroPaper blog
theme. theme.
@@ -1,8 +1,8 @@
--- ---
title: My recent article 2 title: My recent article 2
author: Sat Naing author: Sat Naing
datetime: 2022-06-06T04:06:31Z pubDatetime: 2022-06-06T04:06:31Z
slug: my-recent-2 postSlug: my-recent-2
featured: false featured: false
draft: true draft: true
tags: tags:
@@ -1,12 +1,15 @@
--- ---
title: Tailwind Typography Plugin title: Tailwind Typography Plugin
author: Sat Naing author: Sat Naing
datetime: 2022-07-05T02:05:51Z pubDatetime: 2022-07-05T02:05:51Z
featured: false featured: false
draft: false draft: false
tags: tags:
- TypeScript - TypeScript
- Astro - Astro
ogImage:
src: ""
alt: ""
description: "EXAMPLE POST: About Tailwind Typography Plugin and how you can use it effectively." description: "EXAMPLE POST: About Tailwind Typography Plugin and how you can use it effectively."
--- ---
@@ -1,8 +1,8 @@
--- ---
title: How Do I Develop My Terminal Portfolio Website with React title: How Do I Develop My Terminal Portfolio Website with React
author: Sat Naing author: Sat Naing
datetime: 2022-06-09T03:42:51Z pubDatetime: 2022-06-09T03:42:51Z
slug: how-do-i-develop-my-terminal-portfolio-website-with-react postSlug: how-do-i-develop-my-terminal-portfolio-website-with-react
featured: false featured: false
draft: false draft: false
tags: tags: