From dc2746a93f8a553985366a0c00c137e3a381b8d5 Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Mon, 28 Mar 2016 21:15:50 -0700 Subject: [PATCH] Update for 0.9 --- .babelrc | 4 ++++ .gitignore | 1 + components/Bio.js | 4 ++-- components/ReadNext.js | 4 ++-- html.js | 36 ++++++++++++++---------------------- package.json | 38 ++++++++++++++++++++++---------------- pages/_template.js | 8 ++++---- pages/index.js | 6 +++--- wrappers/md.js | 1 - 9 files changed, 52 insertions(+), 50 deletions(-) create mode 100644 .babelrc diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..43a36d1 --- /dev/null +++ b/.babelrc @@ -0,0 +1,4 @@ +{ + "presets": ['react', 'es2015', 'stage-0'], + "plugins": ['add-module-exports'] +} diff --git a/.gitignore b/.gitignore index bba4f02..70f3024 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/ public +.gatsby-context.js diff --git a/components/Bio.js b/components/Bio.js index ade549e..8913c95 100644 --- a/components/Bio.js +++ b/components/Bio.js @@ -1,7 +1,7 @@ import React from 'react' import { config } from 'config' import { rhythm } from 'utils/typography' -import { link } from 'gatsby-helpers' +import { prefixLink } from 'gatsby-helpers' class Bio extends React.Component { render () { @@ -12,7 +12,7 @@ class Bio extends React.Component { }} > + cssLink = } return ( @@ -25,24 +26,15 @@ export default class Html extends React.Component { name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=5.0" /> - {this.props.title} - + {title} {cssLink}
-