diff --git a/.vscode/astrowind/config-schema.json b/.vscode/astrowind/config-schema.json
index 2867fdc..e9c6c2d 100644
--- a/.vscode/astrowind/config-schema.json
+++ b/.vscode/astrowind/config-schema.json
@@ -128,6 +128,12 @@
"postsPerPage": {
"type": "integer"
},
+ "isRelatedPostsEnabled": {
+ "type": "boolean"
+ },
+ "relatedPostsCount": {
+ "type": "integer"
+ },
"post": {
"type": "object",
"properties": {
diff --git a/README.md b/README.md
index 45209f9..6ff4c0c 100644
--- a/README.md
+++ b/README.md
@@ -119,8 +119,7 @@ There's nothing special about `src/components/`, but that's where we like to put
Any static assets, like images, can be placed in the `public/` directory if they do not require any transformation or in the `assets/` directory if they are imported directly.
-
-[](https://githubbox.com/onwidget/astrowind/tree/main) [](https://gitpod.io/?on=gitpod#https://github.com/onwidget/astrowind) [](https://stackblitz.com/github/onwidget/astrowind)
+[](https://githubbox.com/onwidget/astrowind/tree/main) [](https://gitpod.io/?on=gitpod#https://github.com/onwidget/astrowind) [](https://stackblitz.com/github/onwidget/astrowind)
> 🧑🚀 **Seasoned astronaut?** Delete this file `README.md`. Update `src/config.yaml` and contents. Have fun!
@@ -182,8 +181,8 @@ i18n:
apps:
blog:
- isEnabled: true
- postsPerPage: 6
+ isEnabled: true # If the blog will be enabled
+ postsPerPage: 6 # Number of posts per page
post:
isEnabled: true
@@ -209,6 +208,9 @@ apps:
robots:
index: false
+ isRelatedPostsEnabled: true # If a widget with related posts is to be displayed below each post
+ relatedPostsCount: 4 # Number of related posts to display
+
analytics:
vendors:
googleAnalytics:
diff --git a/package.json b/package.json
index 1c3bfc6..ffd7101 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "@onwidget/astrowind",
"description": "AstroWind: A free template using Astro 4.0 and Tailwind CSS. Astro starter theme.",
- "version": "1.0.0-beta.13",
+ "version": "1.0.0-beta.14",
"private": true,
"scripts": {
"dev": "astro dev",
diff --git a/src/components/blog/ListItem.astro b/src/components/blog/ListItem.astro
index c4f6c7c..dff647f 100644
--- a/src/components/blog/ListItem.astro
+++ b/src/components/blog/ListItem.astro
@@ -49,6 +49,16 @@ const link = APP_BLOG?.post?.isEnabled ? getPermalink(post.permalink, 'post') :
-