Update starter to latest canary
This commit is contained in:
parent
1d2329c1c9
commit
6a806c21cd
8 changed files with 1295 additions and 1624 deletions
|
|
@ -9,7 +9,7 @@ import { rhythm } from "../utils/typography"
|
|||
|
||||
class BlogIndex extends React.Component {
|
||||
render() {
|
||||
console.log(this.props)
|
||||
// console.log("props", this.props)
|
||||
const pageLinks = []
|
||||
const siteTitle = get(this, "props.data.site.siteMetadata.title")
|
||||
const posts = get(this, "props.data.allMarkdownRemark.edges")
|
||||
|
|
@ -49,8 +49,8 @@ BlogIndex.propTypes = {
|
|||
|
||||
export default BlogIndex
|
||||
|
||||
export const pageQuery = `
|
||||
{
|
||||
export const pageQuery = graphql`
|
||||
query IndexQuery {
|
||||
site {
|
||||
siteMetadata {
|
||||
title
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue