Add author and date to blog posts, stylistic changes, graphql changes
This commit is contained in:
@@ -39,6 +39,7 @@ class Blog extends Component {
|
||||
<Card
|
||||
title={node.title}
|
||||
date={node.date}
|
||||
authorName={node.author.name}
|
||||
imgAlt={node.title}
|
||||
excerpt={node.excerpt}
|
||||
image={
|
||||
@@ -76,6 +77,9 @@ export const query = graphql`
|
||||
excerpt
|
||||
status
|
||||
slug
|
||||
author {
|
||||
name
|
||||
}
|
||||
date(formatString: "MMMM DD, YYYY")
|
||||
featured_media {
|
||||
localFile {
|
||||
|
||||
Reference in New Issue
Block a user