mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 10:22:30 +02:00
fix(v2): move header inside article tag in doc page (#1975)
This commit is contained in:
parent
8242c0eb00
commit
2493583fe2
1 changed files with 6 additions and 5 deletions
|
@ -86,12 +86,13 @@ function DocItem(props) {
|
|||
<div className="row">
|
||||
<div className="col">
|
||||
<div className={styles.docItemContainer}>
|
||||
{!metadata.hide_title && (
|
||||
<header>
|
||||
<h1 className={styles.docTitle}>{metadata.title}</h1>
|
||||
</header>
|
||||
)}
|
||||
<article>
|
||||
{!metadata.hide_title && (
|
||||
<header>
|
||||
<h1 className={styles.docTitle}>{metadata.title}</h1>
|
||||
</header>
|
||||
)}
|
||||
|
||||
<div className="markdown">
|
||||
<DocContent />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue