Fix bugs causing compile fails

This commit is contained in:
Hippo 2019-09-26 19:14:13 +05:30
parent 01a1497cca
commit c7c053b660

View file

@ -18,10 +18,10 @@ const PostCard = ({ post, isLarge }) => {
</header>
<div className="post-card-content">
{/*post.tags && <div className="post-card-tags"> <Tags post={post} visibility="public" autolink={false} /></div>*/}
{post.tags && <div className="post-card-tags">{post.tags[0].name}</div>}
{post.tags && post.tags[0] && <div className="post-card-tags">{post.tags[0].name}</div>}
{post.featured && <span>Featured</span>}
<h2 className="post-card-title">{post.title}</h2>
<section className="post-card-excerpt">{post.subtitle}</section>
<section className="post-card-excerpt">{ /* post.subtitle */ }</section>
<footer className="post-card-footer">
<div className="post-card-footer-left">
<div className="post-card-avatar">