mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 18:00:06 +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}>
|
||||
<PostTitle type={type} linkurl={linkurl} title={title} />
|
||||
|
||||
<PostLead post={post} />
|
||||
|
||||
{image && (
|
||||
<figure className={styles.hentry__teaser}>
|
||||
<Image fluid={image.childImageSharp.fluid} alt={title} />
|
||||
</figure>
|
||||
)}
|
||||
|
||||
<div
|
||||
className={styles.hentry__content}
|
||||
dangerouslySetInnerHTML={{ __html: post.html }}
|
||||
/>
|
||||
<PostContent post={post} />
|
||||
|
||||
<PostMeta post={post} meta={meta} />
|
||||
</article>
|
||||
@ -83,6 +82,14 @@ const Post = ({ data, location }) => {
|
||||
)
|
||||
}
|
||||
|
||||
PostLead.propTypes = {
|
||||
post: PropTypes.object.isRequired
|
||||
}
|
||||
|
||||
PostContent.propTypes = {
|
||||
post: PropTypes.object.isRequired
|
||||
}
|
||||
|
||||
Post.propTypes = {
|
||||
data: PropTypes.object.isRequired,
|
||||
location: PropTypes.object.isRequired
|
Loading…
Reference in New Issue
Block a user