import React from 'react'; import DocumentTitle from 'react-document-title'; import { link } from 'gatsby-helpers'; var DOCS_BASEURL = "https://github.com/graphql-python/graphene/edit/master/docs/pages/"; class Markdown extends React.Component { render() { var post = this.props.page.data; var pagePath = this.props.page.requirePath; var documentUrl = `${DOCS_BASEURL}${pagePath}`; var showTitle = post.title && !this.props.docs; return (
{showTitle?

{post.title}

:null}
Edit page
); } } module.exports = Markdown;