<commit_before><?php
/**
 * Template part for displaying page content in page.php.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package air
 */

?>

<?php get_template_part( 'template-parts/hero', 'page' ); ?>

<div class="container">

  <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <header class="entry-header">
      <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
    </header><!-- .entry-header -->

    <div class="entry-content">
      <?php
        the_content();

        wp_link_pages( array(
          'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'air' ),
          'after'  => '</div>',
        ) );
      ?>
    </div><!-- .entry-content -->

    <footer class="entry-footer">
      <?php
        edit_post_link(
          sprintf(
            /* translators: %s: Name of current post */
            esc_html__( 'Edit %s', 'air' ),
            the_title( '<span class="screen-reader-text">"', '"</span>', false )
          ),
          '<p class="edit-link">',
          '</p>'
        );
      ?>
    </footer><!-- .entry-footer -->
  </article><!-- #post-## -->

</div><!-- .container --><commit_msg>Only show page footer if there's an edit link.<commit_after><?php
/**
 * Template part for displaying page content in page.php.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package air
 */

?>

<?php get_template_part( 'template-parts/hero', 'page' ); ?>

<div class="container">

  <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <header class="entry-header">
      <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
    </header><!-- .entry-header -->

    <div class="entry-content">
      <?php
        the_content();

        wp_link_pages( array(
          'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'air' ),
          'after'  => '</div>',
        ) );
      ?>
    </div><!-- .entry-content -->

    <?php if ( get_edit_post_link() ) : ?>
    <footer class="entry-footer">
      <?php
        edit_post_link(
          sprintf(
            /* translators: %s: Name of current post */
            esc_html__( 'Edit %s', 'air' ),
            the_title( '<span class="screen-reader-text">"', '"</span>', false )
          ),
          '<p class="edit-link">',
          '</p>'
        );
      ?>
    </footer><!-- .entry-footer -->
    <?php endif; ?>
  </article><!-- #post-## -->

</div><!-- .container -->
{'fraction_non_alphanumeric': 0.22546634225466342, 'fraction_numerical': 0.0016220600162206002, 'mean_word_length': 2.1386768447837152, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 69, 'https://': 2, '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': '4099859', 'n_tokens_mistral': 801, 'n_tokens_neox': 795, 'n_words': 169}