<commit_before>import React from 'react';
import GatsbyLink from 'gatsby-link';
import Helmet from 'react-helmet';

import Link from '../components/Link';


import '../css/blog-post.css';
import '../css/index.css';
import '../css/basics.css';

export default function Index({ data }) {
  const { edges: posts } = data.allMarkdownRemark;
  return (
    <div className="blog-posts">

      {posts
        .filter(post => post.node.frontmatter.title.length > 0)
        .map(({ node: post }) => {
          return (
            <div>
              
              <GatsbyLink to={post.frontmatter.path}  className="blog-post-preview link" key={post.id}>
                <h2 className="date">
                  {post.frontmatter.date}
                </h2>
                <h1 className="title serif-display">
                    {post.frontmatter.title}
                </h1>
                <p>
                  {post.excerpt}
                </p>
                <p className="link--fill sans-serif">Read more</p>
              </GatsbyLink>
              
            </div>
          );
        })}
    </div>
  );
}

import '../components/HelloFunc.js';

export const pageQuery = graphql`
  query IndexQuery {
    allMarkdownRemark(sort: { order: DESC, fields: [frontmatter___date] }) {
      edges {
        node {
          excerpt(pruneLength: 250)
          id
          frontmatter {
            title
            date(formatString: "MMMM DD, YYYY")
            path
          }
        }
      }<commit_msg>erase `hello` script import in index<commit_after>import React from 'react';
import GatsbyLink from 'gatsby-link';
import Helmet from 'react-helmet';

import Link from '../components/Link';


import '../css/blog-post.css';
import '../css/index.css';
import '../css/basics.css';

export default function Index({ data }) {
  const { edges: posts } = data.allMarkdownRemark;
  return (
    <div className="blog-posts">

      {posts
        .filter(post => post.node.frontmatter.title.length > 0)
        .map(({ node: post }) => {
          return (
            <div>
              
              <GatsbyLink to={post.frontmatter.path}  className="blog-post-preview link" key={post.id}>
                <h2 className="date">
                  {post.frontmatter.date}
                </h2>
                <h1 className="title serif-display">
                    {post.frontmatter.title}
                </h1>
                <p>
                  {post.excerpt}
                </p>
                <p className="link--fill sans-serif">Read more</p>
              </GatsbyLink>
              
            </div>
          );
        })}
    </div>
  );
}


export const pageQuery = graphql`
  query IndexQuery {
    allMarkdownRemark(sort: { order: DESC, fields: [frontmatter___date] }) {
      edges {
        node {
          excerpt(pruneLength: 250)
          id
          frontmatter {
            title
            date(formatString: "MMMM DD, YYYY")
            path
          }
        }
      }
{'fraction_non_alphanumeric': 0.1319628647214854, 'fraction_numerical': 0.005305039787798408, 'mean_word_length': 1.4913294797687862, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 37, 'https://': 0, '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': '3173802', 'n_tokens_mistral': 914, 'n_tokens_neox': 860, 'n_words': 187}