<commit_before>import React from 'react'
import PropTypes from 'prop-types'
import Link, { navigateTo } from 'gatsby-link'
import Helmet from 'react-helmet'
import Konami from 'react-konami'

// React components
import Header from '../components/Header/Header'
import Footer from '../components/Footer'
import Container from '../components/Container'
import SecretsModal from '../components/SecretsModal'

import 'normalize.css'
import '../fonts/pxplus_ibm_vga8.css'
import '../styles/globals.css'

import styles from './index.module.css'

class TemplateWrapper extends React.Component {
  constructor () {
    super()
  }

  render () {
    const { siteMetadata, buildTime } = this.props.data.site
    const { children } = this.props

    return (
      <div className="content">
        <Container>
          <div className={styles.siteWrapper}>
            <Helmet
              title={siteMetadata.title}
              meta={[
                { name: 'description', content: siteMetadata.description },
                { name: 'keywords', content: 'aquellex, gameboy, musician, chiptune, osu!' },
                { property: 'og:site_name', content: data.site.siteMetadata.title },
                { property: 'og:type', content: 'website' },
                { property: 'og:title', content: data.site.siteMetadata.title },
                { property: 'og:description', content: data.site.siteMetadata.description },
              ]}
            />
            <Konami konami={[76, 79, 67, 82, 73, 65, 78]} easterEgg={() => window.open("https://twitter.com/locrian_memes")} />
            <Konami konami={[77, 85, 70, 71, 79]} easterEgg={() => window.location.href = 'https://www.youtube.com/watch?v=NtSgWZbL_kE'
} />
            <SecretsModal />
            <Header />
            <div>
              {children()}
            </div>
          </div>
          <Footer updated={buildTime} />
        </Container>
      </div>
    )
  }
}

TemplateWrapper.propTypes = {
  data: PropTypes.object,
  children: PropTypes.func
}

export default TemplateWrapper

export const query = graphql`
  query IndexLayoutQuery {
    site {
      siteMetadata {
        title
        description
        author {
          name
          url
          email
        }
      }
      buildTime
    }
  }
`
<commit_msg>fixed helmet implementation on homepage<commit_after>import React from 'react'
import PropTypes from 'prop-types'
import Link, { navigateTo } from 'gatsby-link'
import Helmet from 'react-helmet'
import Konami from 'react-konami'

// React components
import Header from '../components/Header/Header'
import Footer from '../components/Footer'
import Container from '../components/Container'
import SecretsModal from '../components/SecretsModal'

import 'normalize.css'
import '../fonts/pxplus_ibm_vga8.css'
import '../styles/globals.css'

import styles from './index.module.css'

class TemplateWrapper extends React.Component {
  constructor () {
    super()
  }

  render () {
    const { siteMetadata, buildTime } = this.props.data.site
    const { children } = this.props

    return (
      <div className="content">
        <Container>
          <div className={styles.siteWrapper}>
            <Helmet>
              <title>{siteMetadata.title}</title>
              <meta name="description" content={siteMetadata.description} />
              <meta name="keywords" content="aquellex, gameboy, musician, chiptune, osu" />
              <meta property="og:site_name" content={siteMetadata.title} />
              <meta property="og:type" content="website" />
              <meta property="og:title" content={siteMetadata.title} />
              <meta property="og:description" content={siteMetadata.description} />
            </Helmet>
            <Konami konami={[76, 79, 67, 82, 73, 65, 78]} easterEgg={() => window.open("https://twitter.com/locrian_memes")} />
            <Konami konami={[77, 85, 70, 71, 79]} easterEgg={() => window.location.href = 'https://www.youtube.com/watch?v=NtSgWZbL_kE'} />
            <SecretsModal />
            <Header />
            <div>
              {children()}
            </div>
          </div>
          <Footer updated={buildTime} />
        </Container>
      </div>
    )
  }
}

TemplateWrapper.propTypes = {
  data: PropTypes.object,
  children: PropTypes.func
}

export default TemplateWrapper

export const query = graphql`
  query IndexLayoutQuery {
    site {
      siteMetadata {
        title
        description
        author {
          name
          url
          email
        }
      }
      buildTime
    }
  }
`

{'fraction_non_alphanumeric': 0.13225665648188564, 'fraction_numerical': 0.010912265386294195, 'mean_word_length': 2.2665716322166785, 'pattern_counts': {'":': 0, '<': 40, '<?xml version=': 0, '>': 44, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2841458', 'n_tokens_mistral': 1362, 'n_tokens_neox': 1311, 'n_words': 302}