From b579950ae550df8551bf087e8f017a41b36a726e Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 13 Mar 2025 21:05:26 +0000
Subject: [PATCH] fix(og): adjust line clamp
---
quartz/plugins/emitters/contentPage.tsx | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/quartz/plugins/emitters/contentPage.tsx b/quartz/plugins/emitters/contentPage.tsx
index 8eb3e68..f833930 100644
--- a/quartz/plugins/emitters/contentPage.tsx
+++ b/quartz/plugins/emitters/contentPage.tsx
@@ -105,6 +105,10 @@
containsIndex = true
}
+ if (file.data.slug?.endsWith("/index")) {
+ continue
+ }
+
const externalResources = pageResources(pathToRoot(slug), file.data, resources)
const componentData: QuartzComponentProps = {
ctx,
--
Gitblit v1.10.0