From 5b628b19f62535613ec7f37899b48d740e71b586 Mon Sep 17 00:00:00 2001 From: Sat Naing Date: Sun, 11 Sep 2022 15:27:20 +0630 Subject: [PATCH] Move tags page to /tags/index --- src/pages/{tags.astro => tags/index.astro} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/pages/{tags.astro => tags/index.astro} (89%) diff --git a/src/pages/tags.astro b/src/pages/tags/index.astro similarity index 89% rename from src/pages/tags.astro rename to src/pages/tags/index.astro index e76a1b5..daa9068 100644 --- a/src/pages/tags.astro +++ b/src/pages/tags/index.astro @@ -7,7 +7,7 @@ import Tag from "@components/Tag.astro"; import getUniqueTags from "@utils/getUniqueTags"; import type { Frontmatter } from "@utils/types"; -const posts = await Astro.glob("../contents/*.md"); +const posts = await Astro.glob("../../contents/*.md"); let tags = getUniqueTags(posts); ---