Move tags page to /tags/index

This commit is contained in:
Sat Naing
2022-09-11 15:27:20 +06:30
parent 94c4bf29a7
commit 5b628b19f6
@@ -7,7 +7,7 @@ import Tag from "@components/Tag.astro";
import getUniqueTags from "@utils/getUniqueTags"; import getUniqueTags from "@utils/getUniqueTags";
import type { Frontmatter } from "@utils/types"; import type { Frontmatter } from "@utils/types";
const posts = await Astro.glob<Frontmatter>("../contents/*.md"); const posts = await Astro.glob<Frontmatter>("../../contents/*.md");
let tags = getUniqueTags(posts); let tags = getUniqueTags(posts);
--- ---