mirror of
https://github.com/kremalicious/blog.git
synced 2025-01-05 03:15:07 +01:00
fixes
This commit is contained in:
parent
77afcb72b1
commit
6afcb5cb11
@ -28,15 +28,13 @@ const Posts = ({ data, location, pageContext }) => {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{image && (
|
{image && (
|
||||||
<figure className={styles.hentryImage}>
|
<Link to={slug}>
|
||||||
<Link to={slug}>
|
<PostImage
|
||||||
<PostImage
|
title={type === 'photo' ? title : null}
|
||||||
title={type === 'photo' ? title : null}
|
fluid={image.childImageSharp.fluid}
|
||||||
fluid={image.childImageSharp.fluid}
|
alt={title}
|
||||||
alt={title}
|
/>
|
||||||
/>
|
</Link>
|
||||||
</Link>
|
|
||||||
</figure>
|
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{type === 'post' && <PostLead post={node} />}
|
{type === 'post' && <PostLead post={node} />}
|
||||||
|
Loading…
Reference in New Issue
Block a user