<commit_before>import React from "react"
import Helmet from "react-helmet"

import { rhythm, scale } from "../utils/typography"
import presets from "../utils/presets"
import Container from "../components/container"

const DocsTemplate = React.createClass({
  render() {
    const packageName = this.props.data.markdownRemark.fields.title
    const page = this.props.data.markdownRemark
    return (
      <Container>
        <Helmet
          title={page.fields.title}
          meta={[
            {
              name: `description`,
              content: page.excerpt,
            },
            {
              name: `og:description`,
              content: page.excerpt,
            },
            {
              name: `twitter:description`,
              content: page.excerpt,
            },
            {
              name: `og:title`,
              content: page.fields.title,
            },
            {
              name: `og:type`,
              content: `article`,
            },
            {
              name: `twitter:label1`,
              content: `Reading time`,
            },
            {
              name: `twitter:data1`,
              content: `${page.timeToRead} min read`,
            },
          ]}
        />
        <strong>
          <a
            href={`https://github.com/gatsbyjs/gatsby/tree/1.0/packages/${packageName}`}
            css={{
              position: `absolute`,
            }}
          >
            Browse source code for package on Github
          </a>
        </strong>
        <div<commit_msg>fix URL for packages, using the master branch (#1399)<commit_after>import React from "react"
import Helmet from "react-helmet"

import { rhythm, scale } from "../utils/typography"
import presets from "../utils/presets"
import Container from "../components/container"

const DocsTemplate = React.createClass({
  render() {
    const packageName = this.props.data.markdownRemark.fields.title
    const page = this.props.data.markdownRemark
    return (
      <Container>
        <Helmet
          title={page.fields.title}
          meta={[
            {
              name: `description`,
              content: page.excerpt,
            },
            {
              name: `og:description`,
              content: page.excerpt,
            },
            {
              name: `twitter:description`,
              content: page.excerpt,
            },
            {
              name: `og:title`,
              content: page.fields.title,
            },
            {
              name: `og:type`,
              content: `article`,
            },
            {
              name: `twitter:label1`,
              content: `Reading time`,
            },
            {
              name: `twitter:data1`,
              content: `${page.timeToRead} min read`,
            },
          ]}
        />
        <strong>
          <a
            href={`https://github.com/gatsbyjs/gatsby/tree/master/packages/${packageName}`}
            css={{
              position: `absolute`,
            }}
          >
            Browse source code for package on Github
          </a>
        </strong>
        <div
{'fraction_non_alphanumeric': 0.11800063271116736, 'fraction_numerical': 0.0031635558367605187, 'mean_word_length': 1.2521367521367521, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '967234', 'n_tokens_mistral': 826, 'n_tokens_neox': 817, 'n_words': 173}