<commit_before><?php if (!have_posts()) : ?>
  <div class="alert alert-warning">
    <?php _e('Sorry, no results were found.', 'roots'); ?>
  </div>
  <?php get_search_form(); ?>
<?php endif; ?>



<section class="over-slider clearfix">
	<?php get_template_part('sitepart', 'social'); ?>
	<div class="logo over-slider">
		<img src="<?php echo get_bloginfo('template_url'); ?>/images/geekscholarslogo.png" alt="geekscholars%20-%20finalweb">
	</div>
	<section class="homepage-search clearfix">
		<?php get_search_form(); ?>
	</section>
</section>

<?php
// Show the most recent post in the podcast category, with its slider images as a carousel
$args = array( 'category_name' => 'podcasts', 'posts_per_page' => 1, 'orderby' => 'date', 'order' => 'DESC' );

$myposts = get_posts( $args );
foreach ( $myposts as $post ) : setup_postdata( $post ); ?>
    <?php get_template_part('templates-homepage/slider'); ?>

    <div class="col-sm-3 podcast-meta">
        <i class="glyphicon glyphicon-time"></i> <?php echo get_the_date(); ?>
    </div>
    <div class="col-sm-9 segment-list">
        <?php if(get_field('segment')): ?>
        <h3>Segments</h3>
        <?php get_template_part('templates-podcast/segmentlist'); ?>
        <?php endif; ?>
    </div>

<?php endforeach; ?>
<?php wp_reset_postdata();?>

<div class="row front-recent-podcasts">
    <h2>Recent Podcasts</h2>
    <?php
    $myposts = get_posts(array( 'category_name' => 'podcasts', 'posts_per_page' => 3, 'orderby' => 'date', 'order' => 'DESC', 'offset' => 1 ));
    foreach ( $myposts as $post ) : setup_postdata( $post );
    
    get_template_part('templates-homepage/podcast');
    
    endforeach; wp_reset_postdata();?><commit_msg>Front Page<commit_after><?php if (!have_posts()) : ?>
  <div class="alert alert-warning">
    <?php _e('Sorry, no results were found.', 'roots'); ?>
  </div>
  <?php get_search_form(); ?>
<?php endif; ?>



<section class="over-slider clearfix">
	<?php get_template_part('sitepart', 'social'); ?>
	<div class="logo over-slider">
		<img src="<?php echo get_bloginfo('template_url'); ?>/images/geekscholarslogo.png" alt="geekscholars%20-%20finalweb">
	</div>
	<section class="homepage-search clearfix">
		<?php get_search_form(); ?>
	</section>
</section>

<?php
// Show the most recent post in the podcast category, with its slider images as a carousel
$args = array( 'category_name' => 'podcasts', 'posts_per_page' => 1, 'orderby' => 'date', 'order' => 'DESC' );

$myposts = get_posts( $args );
foreach ( $myposts as $post ) : setup_postdata( $post ); ?>
    <?php get_template_part('templates/homepage-slider'); ?>

    <div class="col-sm-3 podcast-meta">
        <i class="glyphicon glyphicon-time"></i> <?php echo get_the_date(); ?>
    </div>
    <div class="col-sm-9 segment-list">
        <?php if(get_field('segment')): ?>
        <h3>Segments</h3>
        <?php get_template_part('templates/podcast-segmentlist'); ?>
        <?php endif; ?>
    </div>

<?php endforeach; ?>
<?php wp_reset_postdata();?>

<div class="row front-recent-podcasts">
    <h2>Recent Podcasts</h2>
    <?php
    $myposts = get_posts(array( 'category_name' => 'podcasts', 'posts_per_page' => 3, 'orderby' => 'date', 'order' => 'DESC', 'offset' => 1 ));
    foreach ( $myposts as $post ) : setup_postdata( $post );
    
    get_template_part('templates/homepage-podcast');
    
    endforeach; wp_reset_postdata();?>
{'fraction_non_alphanumeric': 0.1972328525169267, 'fraction_numerical': 0.007653812187224021, 'mean_word_length': 4.227692307692307, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 93, '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': '1710889', 'n_tokens_mistral': 1224, 'n_tokens_neox': 1165, 'n_words': 262}