<commit_before><?php get_header(); ?>
<div id="main">
  <div class="post-content">
    <!--- *********************) HOME LOOP ******************** -->
    <?php if ( is_home() || is_archive() ) { // start home loop ?>

      <?php if (have_posts()): while (have_posts()) : the_post(); ?>

      <div class="the-post">
        <div class="the-post-thumbnail-home">
          <?php if (has_post_thumbnail() ) {
            the_post_thumbnail();
          } ?>
        </div>

      <div class="post-title">
        <h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
        <p><?php the_time( 'F jS, Y') ?></p>
      </div> <!-- /post-title -->

      <div class="the-post-content"><!-- if on the home page, display excerpt-->
        <p>
          <?php the_excerpt(__('more...')); ?>
        </p>
      </div><!--/the-post-content"-->

      <div class="post-metadata">
        <p><?php the_category( ', ' ); ?></p>
        <?php the_tags( 'Tagged: '); ?></p>
      </div><!--/post-metadata-->

      <hr>

      <?php endwhile; else: ?><!-- If no posts available...-->
        <p>
          <?php _e('Sorry, no posts matched your criteria.'); ?>
        </p>
      <?php endif; ?>
    <?php } // end home loop ?>

    <!-- ***************** SINGLE LOOP ***************** -->
    <?php if(is_single()) { ?>
        <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
          <div class="the-post">
            <div class="the-post-thumbnail">
              <?php if (has_post_thumbnail() ) {
                the_post_thumbnail();
              } ?>
            </div>

          <div class="post-title">
            <h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
            <p><?php the_time( 'F jS, Y') ?></p>
          </div> <!-- /post-title -->

          <div class="the-post-content"><!-- if on the home page, display excerpt-->
            <p>
              <?php the_content(); ?>
            </p>
          </div><!--/the-post-content"-->

          <div class="post-metadata">
            <p><?php the_category( ', ' ); ?></p>
            <p><?php the_tags( 'Tagged: '); ?></p>
            <div class="meta-img">
              <img src="<?php bloginfo('template_url'); ?>/img/twitter.png" />
              <img src="<?php bloginfo('template_url'); ?>/img/permalink.png" />
            </div>
          </div><!--/post-metadata-->

          <div class="delimiter"></div>

          <hr />

          <!-- Load post comments --><commit_msg>+Twitter sharing<commit_after><?php get_header(); ?>
<div id="main">
  <div class="post-content">
    <!--- *********************) HOME LOOP ******************** -->
    <?php if ( is_home() || is_archive() ) { // start home loop ?>

      <?php if (have_posts()): while (have_posts()) : the_post(); ?>

      <div class="the-post">
        <div class="the-post-thumbnail-home">
          <?php if (has_post_thumbnail() ) {
            the_post_thumbnail();
          } ?>
        </div>

      <div class="post-title">
        <h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
        <p><?php the_time( 'F jS, Y') ?></p>
      </div> <!-- /post-title -->

      <div class="the-post-content"><!-- if on the home page, display excerpt-->
        <p>
          <?php the_excerpt(__('more...')); ?>
        </p>
      </div><!--/the-post-content"-->

      <div class="post-metadata">
        <p>posted in: <?php the_category( ' ' ); ?></p>
        <p>tagged: <?php the_tags( ' ' ); ?></p>
      </div><!--/post-metadata-->

      <hr>

      <?php endwhile; else: ?><!-- If no posts available...-->
        <p>
          <?php _e('Sorry, no posts matched your criteria.'); ?>
        </p>
      <?php endif; ?>
    <?php } // end home loop ?>

    <!-- ***************** SINGLE LOOP ***************** -->
    <?php if(is_single()) { ?>
        <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
          <div class="the-post">
            <div class="the-post-thumbnail">
              <?php if (has_post_thumbnail() ) {
                the_post_thumbnail();
              } ?>
            </div>

          <div class="post-title">
            <h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
            <p><?php the_time( 'F jS, Y') ?></p>
          </div> <!-- /post-title -->

          <div class="the-post-content"><!-- if on the home page, display excerpt-->
            <p>
              <?php the_content(); ?>
            </p>
          </div><!--/the-post-content"-->

          <div class="post-metadata">
            <p>posted in: <?php the_category( ' ' ); ?></p>
            <p>tagged: <?php the_tags( ' ' ); ?></p>
            <div class="meta-img">
              <a onclick="window.open(this.href, 'twitter-share', 'width=550,height=255');return false;" href="http://twitter.com/share?text=<?php the_title(); ?>&url=<?php the_permalink(); ?>"><img src="<?php bloginfo('template_url'); ?>/img/twitter.png" /></a>
            </div>
          </div><!--/post-metadata-->

          <div class="delimiter"></div>

          <hr />

          <!-- Load post comments -->
{'fraction_non_alphanumeric': 0.25519922254616134, 'fraction_numerical': 0.0027210884353741495, 'mean_word_length': 1.878076062639821, 'pattern_counts': {'":': 0, '<': 186, '<?xml version=': 0, '>': 186, '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': '1710866', 'n_tokens_mistral': 1650, 'n_tokens_neox': 1631, 'n_words': 345}