| | |
| | | { |
| | | type: "element", |
| | | tagName: "a", |
| | | properties: { href: inner.properties?.href, class: ["internal"] }, |
| | | properties: { href: inner.properties?.href, class: ["internal", "transclude-src"] }, |
| | | children: [ |
| | | { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal }, |
| | | ], |
| | |
| | | { |
| | | type: "element", |
| | | tagName: "a", |
| | | properties: { href: inner.properties?.href, class: ["internal"] }, |
| | | properties: { href: inner.properties?.href, class: ["internal", "transclude-src"] }, |
| | | children: [ |
| | | { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal }, |
| | | ], |
| | |
| | | { |
| | | type: "element", |
| | | tagName: "a", |
| | | properties: { href: inner.properties?.href, class: ["internal"] }, |
| | | properties: { href: inner.properties?.href, class: ["internal", "transclude-src"] }, |
| | | children: [ |
| | | { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal }, |
| | | ], |
| | |
| | | </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"> |