Jacky Zhao
2023-08-12 ed62ece491310e75d336db844d8ce56d3d26be31
fix broken tag listing links to tags
2 files modified
4 ■■■■ changed files
content/features/private pages.md patch | view | raw | blame | history
quartz/components/pages/TagContent.tsx 4 ●●●● patch | view | raw | blame | history
content/features/private pages.md
quartz/components/pages/TagContent.tsx
@@ -3,7 +3,7 @@
import { toJsxRuntime } from "hast-util-to-jsx-runtime"
import style from "../styles/listPage.scss"
import { PageList } from "../PageList"
import { ServerSlug, canonicalizeServer, getAllSegmentPrefixes, joinSegments } from "../../path"
import { ServerSlug, canonicalizeServer, getAllSegmentPrefixes } from "../../path"
import { QuartzPluginData } from "../../plugins/vfile"
const numPages = 10
@@ -44,7 +44,7 @@
            return (
              <div>
                <h2>
                  <a class="internal tag-link" href={`./${joinSegments("tags", tag)}`}>
                  <a class="internal tag-link" href={`./${tag}`}>
                    #{tag}
                  </a>
                </h2>