1
0
mirror of https://github.com/kremalicious/blog.git synced 2025-01-03 02:15:08 +01:00
This commit is contained in:
Matthias Kretschmann 2018-09-25 23:16:05 +02:00
parent 77afcb72b1
commit 6afcb5cb11
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -28,15 +28,13 @@ const Posts = ({ data, location, pageContext }) => {
)}
{image && (
<figure className={styles.hentryImage}>
<Link to={slug}>
<PostImage
title={type === 'photo' ? title : null}
fluid={image.childImageSharp.fluid}
alt={title}
/>
</Link>
</figure>
<Link to={slug}>
<PostImage
title={type === 'photo' ? title : null}
fluid={image.childImageSharp.fluid}
alt={title}
/>
</Link>
)}
{type === 'post' && <PostLead post={node} />}