mirror of
https://github.com/kremalicious/blog.git
synced 2025-01-03 02:15:08 +01:00
fixes
This commit is contained in:
parent
77afcb72b1
commit
6afcb5cb11
@ -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} />}
|
||||
|
Loading…
Reference in New Issue
Block a user