Jacky Zhao
2023-12-19 984ab1c578e166922841ea3891fb4f8cbe87c4ad
quartz/components/renderPage.tsx
@@ -23,7 +23,7 @@
  staticResources: StaticResources,
): StaticResources {
  const contentIndexPath = joinSegments(baseDir, "static/contentIndex.json")
  const contentIndexScript = `const fetchData = fetch(\`${contentIndexPath}\`).then(data => data.json())`
  const contentIndexScript = `const fetchData = fetch("${contentIndexPath}").then(data => data.json())`
  return {
    css: [joinSegments(baseDir, "index.css"), ...staticResources.css],