diff --git a/src/config/config.json b/src/config/config.json index 68b406c..9bbcf07 100755 --- a/src/config/config.json +++ b/src/config/config.json @@ -17,7 +17,7 @@ "sticky_header": true, "theme_switcher": true, "default_theme": "system", - "pagination": 2, + "pagination": 12, "summary_length": 200, "blog_folder": "blog", "default_language": "en", diff --git a/src/content/authors/english/ManiAuthor.md b/src/content/authors/english/ManiAuthor.md index 4fece50..f98029f 100644 --- a/src/content/authors/english/ManiAuthor.md +++ b/src/content/authors/english/ManiAuthor.md @@ -1,5 +1,5 @@ --- -title: Mani Shankar +title: Mani Shankar Tulabandu email: manishtulabandu@gmail.com image: "/images/avatar.png" description: this is my description diff --git a/src/layouts/partials/PostSidebar.astro b/src/layouts/partials/PostSidebar.astro index 202a505..6e19653 100755 --- a/src/layouts/partials/PostSidebar.astro +++ b/src/layouts/partials/PostSidebar.astro @@ -6,52 +6,55 @@ const { tags, categories, allCategories } = Astro.props; const lang = getLangFromUrl(Astro.url); --- -
- -
-
Categories
-
-
    - { - categories.map((category: any) => { - const count = allCategories.filter( - (c: any) => c === category - ).length; - return ( -
  • - - {humanize(category)} ({count}) - -
  • - ); - }) - } -
+
+
+ +
+
Categories
+
+
    + { + categories.map((category: any) => { + const count = allCategories.filter( + (c: any) => c === category + ).length; + return ( +
  • + + {humanize(category)} ({count}) + +
  • + ); + }) + } +
+
-
- -
-
Tags
-
- + + +
+
Tags
+
+ +
diff --git a/src/pages/[...lang]/blog/index.astro b/src/pages/[...lang]/blog/index.astro index c4f44a9..bc24948 100755 --- a/src/pages/[...lang]/blog/index.astro +++ b/src/pages/[...lang]/blog/index.astro @@ -43,26 +43,24 @@ const currentPosts = sortedPosts.slice(0, config.settings.pagination);
-
- -
-
- { - currentPosts.map((post) => ( -
- -
- )) - } -
- -
+ +
+ { + currentPosts.map((post) => ( +
+ +
+ )) + } +
+ - + +
-
- -
-
- { - currentPosts.map((post) => ( -
- -
- )) - } -
- -
+ +
+ { + currentPosts.map((post) => ( +
+ +
+ )) + } +
+ - + +