fix(citations): correct URL for CSL locales (#2377)
Build and Test / build-and-test (ubuntu-latest) (push) Has been skipped
Build and Test / publish-tag (push) Has been skipped
Docker build & push image / build (push) Has been skipped
Build and Test / build-and-test (macos-latest) (push) Has been cancelled
Build and Test / build-and-test (windows-latest) (push) Has been cancelled

Co-authored-by: Luiz Claudio Silveira Duarte <lcduarte@lcduarte.com>
This commit is contained in:
Luiz Cláudio Silveira Duarte
2026-04-20 06:37:30 -03:00
committed by GitHub
parent 59b5807601
commit d25a6eabf9
+1 -1
View File
@@ -31,7 +31,7 @@ export const Citations: QuartzTransformerPlugin<Partial<Options>> = (userOpts) =
// locale available and simply create the lang url-string // locale available and simply create the lang url-string
let lang: string = "en-US" let lang: string = "en-US"
if (ctx.cfg.configuration.locale !== "en-US") { if (ctx.cfg.configuration.locale !== "en-US") {
lang = `https://raw.githubusercontent.com/citation-stylelanguage/locales/refs/heads/master/locales-${ctx.cfg.configuration.locale}.xml` lang = `https://raw.githubusercontent.com/citation-style-language/locales/refs/heads/master/locales-${ctx.cfg.configuration.locale}.xml`
} }
// Add rehype-citation to the list of plugins // Add rehype-citation to the list of plugins
plugins.push([ plugins.push([