From 01d7d8e55448abe0a929d8730c735bed5d929048 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 20 Jul 2023 06:03:59 +0000
Subject: [PATCH] fix tag pages to emit to tag/index.html to override content and folder pages
---
quartz/components/Body.tsx | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/quartz/components/Body.tsx b/quartz/components/Body.tsx
index 0130828..6b1f234 100644
--- a/quartz/components/Body.tsx
+++ b/quartz/components/Body.tsx
@@ -1,11 +1,12 @@
+// @ts-ignore
import clipboardScript from './scripts/clipboard.inline'
import clipboardStyle from './styles/clipboard.scss'
import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
function Body({ children }: QuartzComponentProps) {
- return <article>
+ return <div id="quartz-body">
{children}
- </article>
+ </div>
}
Body.afterDOMLoaded = clipboardScript
--
Gitblit v1.10.0