Add author and date to blog posts, stylistic changes, graphql changes

This commit is contained in:
Morris
2018-10-03 20:14:31 +02:00
parent bf9bf50de1
commit 4009a5ec48
6 changed files with 37 additions and 5 deletions

View File

@@ -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 {