From ed62ece491310e75d336db844d8ce56d3d26be31 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Fri, 11 Aug 2023 23:27:59 -0700 Subject: [PATCH] fix broken tag listing links to tags --- content/features/private pages.md | 2 +- quartz/components/pages/TagContent.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/features/private pages.md b/content/features/private pages.md index 9be591b89..402e52c2c 100644 --- a/content/features/private pages.md +++ b/content/features/private pages.md @@ -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: diff --git a/quartz/components/pages/TagContent.tsx b/quartz/components/pages/TagContent.tsx index 05aaade11..5d30240b7 100644 --- a/quartz/components/pages/TagContent.tsx +++ b/quartz/components/pages/TagContent.tsx @@ -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 @@ -44,7 +44,7 @@ function TagContent(props: QuartzComponentProps) { return (

- + #{tag}