Skip to content

Commit

Permalink
enable lang in html
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrrt committed Dec 20, 2023
1 parent 23f90af commit 98001a9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@ const withNextra = require('nextra')({
module.exports = withNextra({
images: {
unoptimized: true,
},
i18n: {
locales: ["en"],
defaultLocale: "en"
}
})
13 changes: 13 additions & 0 deletions apps/docs/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Html, Head, Main, NextScript } from 'next/document'

export default function Document() {
return (
<Html lang="en">
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
)
}

0 comments on commit 98001a9

Please sign in to comment.