import React from 'react'; import Typography from 'typography'; import DocumentTitle from 'react-document-title'; var TypographyStyle = new Typography().TypographyStyle; module.exports = React.createClass({displayName: "exports", getDefaultProps: function() { return { body: "" }; }, render: function() { var title, urlPrefix; title = DocumentTitle.rewind(); if (this.props.title) { title = this.props.title; } if ((typeof __GH_PAGES__ !== "undefined" && __GH_PAGES__ !== null) && __GH_PAGES__) { urlPrefix = this.props.config.ghPagesURLPrefix; } else { urlPrefix = ""; } return ( {this.props.title}