mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-06 21:03:47 +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="row">
|
||||||
<div className="col">
|
<div className="col">
|
||||||
<div className={styles.docItemContainer}>
|
<div className={styles.docItemContainer}>
|
||||||
{!metadata.hide_title && (
|
|
||||||
<header>
|
|
||||||
<h1 className={styles.docTitle}>{metadata.title}</h1>
|
|
||||||
</header>
|
|
||||||
)}
|
|
||||||
<article>
|
<article>
|
||||||
|
{!metadata.hide_title && (
|
||||||
|
<header>
|
||||||
|
<h1 className={styles.docTitle}>{metadata.title}</h1>
|
||||||
|
</header>
|
||||||
|
)}
|
||||||
|
|
||||||
<div className="markdown">
|
<div className="markdown">
|
||||||
<DocContent />
|
<DocContent />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue