Add author and date to blog posts, stylistic changes, graphql changes
This commit is contained in:
@@ -187,6 +187,7 @@ const IndexPage = ({ ...props }) => (
|
||||
url={`blog/${node.slug}`}
|
||||
title={node.title}
|
||||
date={node.date}
|
||||
authorName={node.author.name}
|
||||
imgAlt={node.title}
|
||||
excerpt={node.excerpt}
|
||||
image={
|
||||
@@ -218,6 +219,10 @@ export const query = graphql`
|
||||
node {
|
||||
id
|
||||
title
|
||||
author {
|
||||
id
|
||||
name
|
||||
}
|
||||
excerpt
|
||||
status
|
||||
slug
|
||||
|
||||
Reference in New Issue
Block a user