diff --git a/apps/docs/layouts/guides/index.tsx b/apps/docs/layouts/guides/index.tsx index b0af7dfd509..4b1fd8046dd 100644 --- a/apps/docs/layouts/guides/index.tsx +++ b/apps/docs/layouts/guides/index.tsx @@ -107,50 +107,7 @@ const Layout: FC = (props) => { }} /> -
-
- {props.meta.breadcrumb && ( -

{props.meta.breadcrumb}

- )} -
-

{props.meta.title}

- {props.meta.subtitle && ( -

{props.meta.subtitle}

- )} -
- {props.children} - - {EDIT_BUTTON_EXCLUDE_LIST.includes(router.route) ? ( - <> - ) : ( - - )} -
-
- {!props.hideToc && hasTableOfContents && !props.meta?.hide_table_of_contents && ( +
= (props) => { {props.meta.subtitle && (

{props.meta.subtitle}

)} -
+
{props.children} {EDIT_BUTTON_EXCLUDE_LIST.includes(router.route) ? ( @@ -196,19 +153,45 @@ const Layout: FC = (props) => { {!props.hideToc && hasTableOfContents && !props.meta?.hide_table_of_contents && ( )}