From 5866d8177ccfdb4a23230178d01ba0ccd7bdf0a5 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 13 Nov 2019 01:03:03 +0300 Subject: [PATCH] fix(v2): move header inside article tag in doc page --- .../src/theme/DocItem/index.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/docusaurus-theme-classic/src/theme/DocItem/index.js b/packages/docusaurus-theme-classic/src/theme/DocItem/index.js index 029613f2f95b..9eecb1a1d27a 100644 --- a/packages/docusaurus-theme-classic/src/theme/DocItem/index.js +++ b/packages/docusaurus-theme-classic/src/theme/DocItem/index.js @@ -86,12 +86,13 @@ function DocItem(props) {
- {!metadata.hide_title && ( -
-

{metadata.title}

-
- )}
+ {!metadata.hide_title && ( +
+

{metadata.title}

+
+ )} +