Jacky Zhao
2023-12-17 972cf0a887fcafa92bd317dd990ea57f2a4d054d
quartz/components/pages/TagContent.tsx
@@ -27,7 +27,7 @@
      ? fileData.description
      : htmlToJsx(fileData.filePath!, tree)
  if (tag === "") {
  if (tag === "/") {
    const tags = [...new Set(allFiles.flatMap((data) => data.frontmatter?.tags ?? []))]
    const tagItemMap: Map<string, QuartzPluginData[]> = new Map()
    for (const tag of tags) {
@@ -53,7 +53,7 @@
            return (
              <div>
                <h2>
                  <a class="internal tag-link" href={`./${tag}`}>
                  <a class="internal tag-link" href={`../tags/${tag}`}>
                    #{tag}
                  </a>
                </h2>