mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
fix(v2): avoid misuse section tag in blog posts (#4147)
This commit is contained in:
parent
09284187f1
commit
fd17476c3d
|
|
@ -110,9 +110,9 @@ function BlogPostItem(props: Props): JSX.Element {
|
|||
|
||||
<article className={!isBlogPostPage ? 'margin-bottom--xl' : undefined}>
|
||||
{renderPostHeader()}
|
||||
<section className="markdown">
|
||||
<div className="markdown">
|
||||
<MDXProvider components={MDXComponents}>{children}</MDXProvider>
|
||||
</section>
|
||||
</div>
|
||||
{(tags.length > 0 || truncated) && (
|
||||
<footer className="row margin-vert--lg">
|
||||
{tags.length > 0 && (
|
||||
|
|
|
|||
Loading…
Reference in New Issue