<commit_before>const Metalsmith = require('metalsmith');
const contentful = require('contentful-metalsmith');
const handlebars = require('handlebars');
const layouts = require('metalsmith-layouts');
const sass = require('metalsmith-sass');

handlebars.registerHelper('addOne', number => number + 1);
handlebars.registerHelper('homeSectionId', (baseString, number) => baseString + (number + 1));

Metalsmith(__dirname)
    .source('./src')
    .destination('./build')
    .use(contentful({
        'access_token': process.env.CONTENTFUL_API_KEY,
        'space_id': process.env.CONTENTFUL_SPACE_ID
    }))
    .use(layouts({
        directory: 'src/layouts',
        engine: 'pug'
    }))
    .use(sass({
        outputDir: 'css',
        outputStyle: 'expanded'
    }))
    .build(function (err) {
        if (err) console.log(err);
    });<commit_msg>remove references to handlebars from build.js<commit_after>const Metalsmith = require('metalsmith');
const contentful = require('contentful-metalsmith');
const layouts = require('metalsmith-layouts');

Metalsmith(__dirname)
    .source('./src')
    .destination('./build')
    .use(contentful({
        'access_token': process.env.CONTENTFUL_API_KEY,
        'space_id': process.env.CONTENTFUL_SPACE_ID
    }))
    .use(layouts({
        directory: 'src/layouts',
        engine: 'pug'
    }))
    .use(sass({
        outputDir: 'css',
        outputStyle: 'expanded'
    }))
    .build(function (err) {
        if (err) console.log(err);
    });
{'fraction_non_alphanumeric': 0.1602136181575434, 'fraction_numerical': 0.0013351134846461949, 'mean_word_length': 3.3830409356725144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1280664', 'n_tokens_mistral': 497, 'n_tokens_neox': 477, 'n_words': 85}