Fix bugs causing compile fails
This commit is contained in:
parent
01a1497cca
commit
c7c053b660
1 changed files with 2 additions and 2 deletions
|
@ -18,10 +18,10 @@ const PostCard = ({ post, isLarge }) => {
|
||||||
</header>
|
</header>
|
||||||
<div className="post-card-content">
|
<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"> <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>}
|
{post.featured && <span>Featured</span>}
|
||||||
<h2 className="post-card-title">{post.title}</h2>
|
<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">
|
<footer className="post-card-footer">
|
||||||
<div className="post-card-footer-left">
|
<div className="post-card-footer-left">
|
||||||
<div className="post-card-avatar">
|
<div className="post-card-avatar">
|
||||||
|
|
Loading…
Reference in a new issue