mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-02-03 22:15:42 -06:00
Update quartz/plugins/transformers/citations.ts
This commit is contained in:
parent
9212032012
commit
fd7e518b18
@ -31,8 +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 =
|
lang = `https://raw.githubusercontent.com/citation-stylelanguage/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
|
// Add rehype-citation to the list of plugins
|
||||||
plugins.push([
|
plugins.push([
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user