[site,seo][s]: review page titles

This commit is contained in:
João Demenech
2023-07-18 11:09:03 -03:00
parent 5088afe69a
commit cf6fab2c4f
7 changed files with 11 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ export const DocsLayout: React.FC<any> = ({ children, ...frontMatter }) => {
<time dateTime={created}>{formatDate(created)}</time>
</p>
)}
{title && <h1>{title}</h1>}
{!frontMatter.disableTitle && title && <h1>{title}</h1>}
</div>
</header>
<section>{children}</section>