There was an error while loading. Please reload this page.
1 parent 0f1565c commit aa32198Copy full SHA for aa32198
.changeset/beige-crabs-attack.md
@@ -0,0 +1,5 @@
1
+---
2
+'gitbook': patch
3
4
+
5
+Avoid multiple <h1> in the page by using a <div> for the title in the header
packages/gitbook/src/components/Header/HeaderLogo.tsx
@@ -108,7 +108,7 @@ function LogoFallback(props: HeaderLogoProps) {
108
style={['object-contain', 'size-8']}
109
fetchPriority="high"
110
/>
111
- <h1
+ <div
112
className={tcls(
113
'text-pretty',
114
'line-clamp-3',
@@ -126,7 +126,7 @@ function LogoFallback(props: HeaderLogoProps) {
126
)}
127
>
128
{getContentTitle(space, customization, parent)}
129
- </h1>
+ </div>
130
</>
131
);
132
}
0 commit comments