mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 19:41:02 +08:00
Move tags page to /tags/index
This commit is contained in:
@@ -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);
|
||||||
---
|
---
|
||||||
Reference in New Issue
Block a user