mirror of
https://github.com/alrayyes/wiki.git
synced 2025-06-12 00:13:39 +00:00
fix: change backtick to regular after making script loading less hacky
This commit is contained in:
parent
443cd53a1a
commit
984ab1c578
2 changed files with 5 additions and 5 deletions
quartz/components
|
@ -23,7 +23,7 @@ export function pageResources(
|
|||
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],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue