<commit_before>const path = require('path')
const chunk = require('lodash/chunk')
const each = require('lodash/each');
const get = require("lodash/get");
const uniq = require("lodash/uniq");
const kebabCase = require("lodash/kebabCase");

exports.createPages = ({
	actions,
	graphql
}) => {
	const {
		createPage
	} = actions
	const blogPostTemplate = path.resolve(`src/templates/BlogPost.jsx`)
	const tagTemplate = path.resolve(`src/templates/Tags.jsx`);
	const homeTemplate = path.resolve(`src/templates/Home.jsx`);

	return new Promise((resolve, reject) => {
		graphql(
			`
				{
					allMarkdownRemark(
						sort: { fields: [frontmatter___date], order: DESC }
					) {
						edges {
							node {
								html
								id
								timeToRead
								frontmatter {
									title
									subtitle
									excerpt
									path
									category
									date(formatString: "MMMM DD, YYYY")
									author {
										name
										link
										avatar
									}
									image {
										feature
										thumbnail
										teaser
										credit
										creditlink
									}
									tags
								}
							}
						}
					}
				}<commit_msg>update published: true field<commit_after>const path = require('path')
const chunk = require('lodash/chunk')
const each = require('lodash/each');
const get = require("lodash/get");
const uniq = require("lodash/uniq");
const kebabCase = require("lodash/kebabCase");

exports.createPages = ({
	actions,
	graphql
}) => {
	const {
		createPage
	} = actions
	const blogPostTemplate = path.resolve(`src/templates/BlogPost.jsx`)
	const tagTemplate = path.resolve(`src/templates/Tags.jsx`);
	const homeTemplate = path.resolve(`src/templates/Home.jsx`);

	return new Promise((resolve, reject) => {
		graphql(
			`
				{
					allMarkdownRemark(
						sort: { fields: [frontmatter___date], order: DESC }
					) {
						edges {
							node {
								html
								id
								timeToRead
								frontmatter {
									title
									subtitle
									excerpt
									path
									category
									date(formatString: "MMMM DD, YYYY")
									author {
										name
										link
										avatar
									}
									image {
										feature
										thumbnail
										teaser
										credit
										creditlink
									}
									tags
									published
								}
							}
						}
					}
				}
{'fraction_non_alphanumeric': 0.10519591141396933, 'fraction_numerical': 0.0, 'mean_word_length': 1.783175355450237, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3340233', 'n_tokens_mistral': 1208, 'n_tokens_neox': 686, 'n_words': 144}