diff --git a/src/pages/tags/index.astro b/src/pages/tags/index.astro new file mode 100644 index 0000000..b662299 --- /dev/null +++ b/src/pages/tags/index.astro @@ -0,0 +1,53 @@ +--- +import BaseLayout from "../../layouts/BaseLayout.astro"; +const articles = await Astro.glob("../../content/articles/*.mdx"); +const tags = [ + ...new Set(articles.map((article) => article.frontmatter.tags).flat()), +]; +--- + + +
+

Tags

+
+
    + { + tags.map((tag) => ( +
  • + {tag} +
  • + )) + } +
+
+
+
+