Update starter to latest canary

This commit is contained in:
Kyle Mathews 2017-05-19 11:57:38 +02:00
parent 1d2329c1c9
commit 6a806c21cd
8 changed files with 1295 additions and 1624 deletions

View file

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