Jacky Zhao
2024-02-11 ab0e20b4d0ad1e650126ffd0afa7d0ed6bd46da2
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} />