Skip to content

Commit

Permalink
fix broken tag listing links to tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Aug 12, 2023
1 parent 736c398 commit ed62ece
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/features/private pages.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Private Pages
tags:
- plugin/filter
- plugin/filter
---

There may be some notes you want to avoid publishing as a website. Quartz supports this through two mechanisms which can be used in conjunction:
Expand Down
4 changes: 2 additions & 2 deletions quartz/components/pages/TagContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Fragment, jsx, jsxs } from "preact/jsx-runtime"
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
Expand Down Expand Up @@ -44,7 +44,7 @@ function TagContent(props: QuartzComponentProps) {
return (
<div>
<h2>
<a class="internal tag-link" href={`./${joinSegments("tags", tag)}`}>
<a class="internal tag-link" href={`./${tag}`}>
#{tag}
</a>
</h2>
Expand Down

0 comments on commit ed62ece

Please sign in to comment.