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"), @@ -242,8 +247,8 @@ </div> </div> {RightComponent} <Footer {...componentData} /> </Body> <Footer {...componentData} /> </div> </body> {pageResources.js