description

This commit is contained in:
Karol Wypchlo 2021-04-01 18:29:05 +02:00
parent 62231efcc9
commit 0194955176
1 changed files with 5 additions and 1 deletions

View File

@ -52,7 +52,11 @@ const BlogPostTemplate = ({ data, location }) => {
</FacebookShareButton> </FacebookShareButton>
</div> </div>
</aside> </aside>
<section dangerouslySetInnerHTML={{ __html: post.html }} itemProp="articleBody" className="col-span-2" />
<div className="col-span-2 space-y-12">
{post.frontmatter.description && <h2 className="text-lg font-light">{post.frontmatter.description}</h2>}
<section dangerouslySetInnerHTML={{ __html: post.html }} itemProp="articleBody" />
</div>
</div> </div>
</article> </article>
</Section> </Section>