diff --git a/quartz/plugins/transformers/citations.ts b/quartz/plugins/transformers/citations.ts index 91d48b2d4..ce959b117 100644 --- a/quartz/plugins/transformers/citations.ts +++ b/quartz/plugins/transformers/citations.ts @@ -32,9 +32,7 @@ export const Citations: QuartzTransformerPlugin> = (userOpts) = let lang: string = "en-US" if (ctx.cfg.configuration.locale !== "en-US") { lang = - "https://raw.githubusercontent.com/citation-style-language/locales/refs/heads/master/locales-" + - ctx.cfg.configuration.locale + - ".xml" + `https://raw.githubusercontent.com/citation-stylelanguage/locales/refs/heads/master/locales-${ctx.cfg.configuration.locale}.xml` } // Add rehype-citation to the list of plugins plugins.push([