Skip to content

Commit 5d55330

Browse files
authored
fix: use dynamic title in head on docs pages (#2319)
Previously it'd just display "NFT.Storage Docs" in the title tag on every docs page. Now it'll update to match the h1 on the page: ![image](https://user-images.githubusercontent.com/99349687/218569342-6a6cfd1b-203a-4db4-a43d-dec5913638be.png) partially fixes #2304 . To get dynamic og tags it looks like we might have to upgrade nextra (which means also upgrading React and nextjs).
1 parent a0934cd commit 5d55330

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

packages/website/theme.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ const theme = {
99
footer: false,
1010
header: false,
1111
logo: <></>,
12-
head: (
13-
<>
14-
<title>NFT.Storage Docs</title>
15-
</>
16-
),
12+
titleSuffix: '',
1713
}
1814

1915
export default theme

0 commit comments

Comments
 (0)