From ed7a32efb62a81715a61bab79ffe25dd66bae23b Mon Sep 17 00:00:00 2001 From: somrat sorkar Date: Thu, 11 May 2023 13:06:14 +0600 Subject: [PATCH] modified contentParser and index.md file for blog and author, fixed issue #2 --- src/content/authors/{_index.md => index.md} | 0 src/content/posts/{_index.md => index.md} | 0 src/layouts/partials/Header.astro | 2 +- src/lib/contentParser.astro | 2 +- src/pages/authors/index.astro | 2 +- src/pages/index.astro | 2 +- src/pages/posts/index.astro | 2 +- src/pages/posts/page/[slug].astro | 2 +- 8 files changed, 6 insertions(+), 6 deletions(-) rename src/content/authors/{_index.md => index.md} (100%) rename src/content/posts/{_index.md => index.md} (100%) diff --git a/src/content/authors/_index.md b/src/content/authors/index.md similarity index 100% rename from src/content/authors/_index.md rename to src/content/authors/index.md diff --git a/src/content/posts/_index.md b/src/content/posts/index.md similarity index 100% rename from src/content/posts/_index.md rename to src/content/posts/index.md diff --git a/src/layouts/partials/Header.astro b/src/layouts/partials/Header.astro index c38c2bf..40dd758 100755 --- a/src/layouts/partials/Header.astro +++ b/src/layouts/partials/Header.astro @@ -77,7 +77,7 @@ const { pathname } = Astro.url; -