Jacky Zhao
2024-02-08 a87704cd05e379c670abce823385fb937a65920d
quartz/components/renderPage.tsx
@@ -209,8 +209,7 @@
    </div>
  )
  const lang = componentData.frontmatter?.lang ?? cfg.locale.split("-")[0]
  const lang = componentData.frontmatter?.lang ?? cfg.locale?.split("-")[0] ?? "en"
  const doc = (
    <html lang={lang}>
      <Head {...componentData} />