fix(theme): show blog post edit link even when no tag & not truncated (#7727)

Show edit link even when no tag & not truncated.
This commit is contained in:
Sunghyun Cho 2022-07-06 09:46:49 -07:00 committed by GitHub
parent f224d3c669
commit a25e18ce32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ export default function BlogPostItem(props: Props): JSX.Element {
<MDXContent>{children}</MDXContent>
</div>
{(tagsExists || truncated) && (
{(tagsExists || truncated || editUrl) && (
<footer
className={clsx(
'row docusaurus-mt-lg',