From 7b052e884458f5caeb9574f22186b3736a793de7 Mon Sep 17 00:00:00 2001
From: Sebastian Moser <64004956+c2vi@users.noreply.github.com>
Date: Mon, 02 Jun 2025 05:56:51 +0000
Subject: [PATCH] docs: added note to not forget to add https:// to the plausible-host (for #1337) (#2000)
---
quartz/components/TableOfContents.tsx | 20 +++++++++-----------
1 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/quartz/components/TableOfContents.tsx b/quartz/components/TableOfContents.tsx
index d376200..f3dc905 100644
--- a/quartz/components/TableOfContents.tsx
+++ b/quartz/components/TableOfContents.tsx
@@ -53,17 +53,15 @@
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
</button>
- <div class={fileData.collapseToc ? "collapsed toc-content" : "toc-content"}>
- <OverflowList>
- {fileData.toc.map((tocEntry) => (
- <li key={tocEntry.slug} class={`depth-${tocEntry.depth}`}>
- <a href={`#${tocEntry.slug}`} data-for={tocEntry.slug}>
- {tocEntry.text}
- </a>
- </li>
- ))}
- </OverflowList>
- </div>
+ <OverflowList class={fileData.collapseToc ? "collapsed toc-content" : "toc-content"}>
+ {fileData.toc.map((tocEntry) => (
+ <li key={tocEntry.slug} class={`depth-${tocEntry.depth}`}>
+ <a href={`#${tocEntry.slug}`} data-for={tocEntry.slug}>
+ {tocEntry.text}
+ </a>
+ </li>
+ ))}
+ </OverflowList>
</div>
)
}
--
Gitblit v1.10.0