quartz/components/renderPage.tsx
@@ -104,7 +104,9 @@ type: "element", tagName: "a", properties: { href: inner.properties?.href, class: ["internal"] }, children: [{ type: "text", value: `Link to original` }], children: [ { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal }, ], }, ] } @@ -207,8 +209,9 @@ </div> ) const lang = componentData.frontmatter?.lang ?? cfg.locale?.split("-")[0] ?? "en" const doc = ( <html> <html lang={lang}> <Head {...componentData} /> <body data-slug={slug}> <div id="quartz-root" class="page">