Aaron Pham
2024-02-08 51818efc38eae1e4d300f004cb637d2f75a7f41a
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,10 @@
    </div>
  )
  const lang = componentData.frontmatter?.lang ?? cfg.locale.split("-")[0]
  const doc = (
    <html>
    <html lang={lang}>
      <Head {...componentData} />
      <body data-slug={slug}>
        <div id="quartz-root" class="page">