From 410001b9426d6a50ea9570b8cf6313f8c5122537 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 18 Nov 2024 19:39:44 +0000
Subject: [PATCH] docs: add the pond (#1598)
---
quartz/components/renderPage.tsx | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/quartz/components/renderPage.tsx b/quartz/components/renderPage.tsx
index f2dccea..9c53096 100644
--- a/quartz/components/renderPage.tsx
+++ b/quartz/components/renderPage.tsx
@@ -29,7 +29,12 @@
const contentIndexScript = `const fetchData = fetch("${contentIndexPath}").then(data => data.json())`
return {
- css: [joinSegments(baseDir, "index.css"), ...staticResources.css],
+ css: [
+ {
+ content: joinSegments(baseDir, "index.css"),
+ },
+ ...staticResources.css,
+ ],
js: [
{
src: joinSegments(baseDir, "prescript.js"),
--
Gitblit v1.10.0