<commit_before><?php get_header(); ?>
    <div class="blog-header">
        <h1 class="blog-header--site-name">
           <?php bloginfo('name'); ?>
        </h1>
        <p class="blog-header--description">
            <?php bloginfo('description'); ?>
        </p>
        <ul class="blog-header--menu">
            <?php wp_list_categories(array('title_li' => '')) ?>
        </ul>
    </div>
    <main id="main" class="site-main">
        <div class="max-width-container blog">
            <?php while ( have_posts() ) : the_post(); ?>
                <article class="blog-post">
                    <header>
                        <h1 class="blog-post--title">
                            <?php echo the_title(); ?>
                        </h1>
                        <div class="blog-post--meta">
                            <time datetime=""><?php echo $post->post_date ?></time>
                            <ul class="blog-post--meta--categories">
                                <li>
                                    <?php var_dump(wp_get_post_categories($post->ID)); ?>
                                </li>
                            </ul>
                            <ul class="blog-post--meta--tags">
                                <li>
                                    React //static
                                </li>
                            </ul>
                        </div>
                    </header>
                    <div class="blog-post--content">
                        <?php the_content() ?>
                    </div>
                </article>
            <?php endwhile; ?>
        </div>
    </main>

<?php get_footer(); ?><commit_msg>refactor: add final home blog markup<commit_after><?php get_header(); ?>
    <div class="blog-header">
        <h1 class="blog-header--site-name">
           <?php bloginfo('name'); ?>
        </h1>
        <p class="blog-header--description">
            <?php bloginfo('description'); ?>
        </p>
        <ul class="blog-header--menu">
            <?php wp_list_categories(array('title_li' => '')) ?>
        </ul>
    </div>
    <main id="main" class="site-main">
        <div class="max-width-container blog">
            <?php while ( have_posts() ) : the_post(); ?>
                <article class="blog-post">
                    <header>
                        <h1 class="blog-post--title">
                            <?php echo the_title(); ?>
                        </h1>
                        <div class="blog-post--meta">
                            <time datetime="<?php echo $post->post_date ?>">
                                <?php echo date('d F Y', strtotime($post->post_date)); ?>
                            </time>
                            <ul class="blog-post--meta--categories">
                                <?php $categories = wp_get_post_categories($post->ID); ?>
                                <?php foreach ($categories as $category) { ?>
                                    <li>
                                        <a href="<?php echo get_category_link($category) ?>">
                                            <?php echo get_the_category_by_ID($category); ?>
                                        </a>
                                    </li>
                                <?php } ?>
                            </ul>
                        </div>
                    </header>
                    <div class="blog-post--content">
                        <?php the_content() ?>
                    </div>
                    <ul class="blog-post--tags">
                        <?php $tags = wp_get_post_tags($post->ID); ?>
                        <?php if (!!$tags) { echo 'Filed under:'; } ?>
                        <?php foreach ($tags as $tag) { ?>
                            <li>
                                <a href="<?php echo get_tag_link($tag->term_id) ?>">
                                    <?php echo $tag->name ?>
                                </a>
                            </li>
                        <?php } ?>
                    </ul>
                </article>
            <?php endwhile; ?>
        </div>
    </main>

<?php get_footer(); ?>
{'fraction_non_alphanumeric': 0.14834123222748816, 'fraction_numerical': 0.0018957345971563982, 'mean_word_length': 0.8996399639963997, 'pattern_counts': {'":': 0, '<': 104, '<?xml version=': 0, '>': 114, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 11, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2535453', 'n_tokens_mistral': 1038, 'n_tokens_neox': 1001, 'n_words': 195}