diff --git a/src/pages/tags.astro b/src/pages/tags.astro new file mode 100644 index 0000000..f5a8bcb --- /dev/null +++ b/src/pages/tags.astro @@ -0,0 +1,21 @@ +--- +import Header from "@components/Header.astro"; +import Tag from "@components/Tag.astro"; +import Layout from "@layouts/Layout.astro"; +import Main from "@layouts/Main.astro"; +import getUniqueTags from "src/utils/getUniqueTags"; +import type { Frontmatter } from "./index.astro"; + +const posts = await Astro.glob("../contents/*.md"); + +let tags = getUniqueTags(posts); +--- + + +
+
+
    + {tags.map((tag) => )} +
+
+