mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
rebase fixes
This commit is contained in:
parent
dd1be61add
commit
ae5bc63a02
@ -66,16 +66,15 @@ const Post = ({ data, location }) => {
|
|||||||
<article className={styles.hentry}>
|
<article className={styles.hentry}>
|
||||||
<PostTitle type={type} linkurl={linkurl} title={title} />
|
<PostTitle type={type} linkurl={linkurl} title={title} />
|
||||||
|
|
||||||
|
<PostLead post={post} />
|
||||||
|
|
||||||
{image && (
|
{image && (
|
||||||
<figure className={styles.hentry__teaser}>
|
<figure className={styles.hentry__teaser}>
|
||||||
<Image fluid={image.childImageSharp.fluid} alt={title} />
|
<Image fluid={image.childImageSharp.fluid} alt={title} />
|
||||||
</figure>
|
</figure>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div
|
<PostContent post={post} />
|
||||||
className={styles.hentry__content}
|
|
||||||
dangerouslySetInnerHTML={{ __html: post.html }}
|
|
||||||
/>
|
|
||||||
|
|
||||||
<PostMeta post={post} meta={meta} />
|
<PostMeta post={post} meta={meta} />
|
||||||
</article>
|
</article>
|
||||||
@ -83,6 +82,14 @@ const Post = ({ data, location }) => {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PostLead.propTypes = {
|
||||||
|
post: PropTypes.object.isRequired
|
||||||
|
}
|
||||||
|
|
||||||
|
PostContent.propTypes = {
|
||||||
|
post: PropTypes.object.isRequired
|
||||||
|
}
|
||||||
|
|
||||||
Post.propTypes = {
|
Post.propTypes = {
|
||||||
data: PropTypes.object.isRequired,
|
data: PropTypes.object.isRequired,
|
||||||
location: PropTypes.object.isRequired
|
location: PropTypes.object.isRequired
|
Loading…
x
Reference in New Issue
Block a user