import React from 'react' import moment from 'moment' import { RouteHandler, Link } from 'react-router' import DocumentTitle from 'react-document-title' import { prefixLink } from 'gatsby-helpers' import access from 'safe-access' import { config } from 'config' import ReadNext from '../ReadNext' import './style.css' import '../../static/css/highlight.css' class SitePost extends React.Component { render() { const {route} = this.props const post = route.page.data const home = (