mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 02:08:36 +02:00
fix(v2): add HTML lang attribute (#2130)
This commit is contained in:
parent
5716953ff1
commit
22b1f66d11
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@ function Layout(props) {
|
|||
return (
|
||||
<>
|
||||
<Head>
|
||||
{/* TODO: Do not assume that it is in english language */}
|
||||
<html lang="en" />
|
||||
|
||||
<meta httpEquiv="x-ua-compatible" content="ie=edge" />
|
||||
{metaTitle && <title>{metaTitle}</title>}
|
||||
{metaTitle && <meta property="og:title" content={metaTitle} />}
|
||||
|
|
Loading…
Add table
Reference in a new issue