import React from 'react' import moment from 'moment' import { RouteHandler, Link } from 'react-router' import { prefixLink } from 'gatsby-helpers' import access from 'safe-access' import { config } from 'config' import SiteSidebar from '../SiteSidebar' import './style.css'; class SitePage extends React.Component { render() { const {route} = this.props const post = route.page.data return (

{ post.title }

); } } SitePage.propTypes = { route: React.PropTypes.object.isRequired, } export default SitePage