<commit_before><div class="pagination">
  <?php if($totalPages > 1) { ?>
    <?php if(!isset($labelPosition) || $labelPosition == 'top') { ?>
      <p class="label"><span class="audible">Pagination:</span>Page <?php echo $currentPage; ?> of <?php echo $totalPages; ?></p>
    <?php } ?>
    <ul role="navigation">
      <?php for($i = 1; $i <= $totalPages; $i++) { ?>
        <?php if($i == $currentPage) { ?>
          <li class="on"><p><span class="audible">You're currently on page </span><?php echo $i; ?></p></li>
        <?php } else { ?>
          <li><a href="<?php echo preg_replace('#/page-\d+#', '', $requestUri); ?>/page-<?php echo $i; ?>"><span class="audible">Page </span><?php echo $i; ?></a></li>
        <?php } ?>
      <?php } ?>
    </ul>
    <?php if(isset($labelPosition) && $labelPosition == 'bottom') { ?>
      <p class="label"><span class="audible">Pagination:</span>Page <?php echo $currentPage; ?> of <?php echo $totalPages; ?></p>
    <?php } ?>
  <?php } ?>
</div><commit_msg>Fix pagination. (gh-172)<commit_after><div class="pagination">
  <?php if($totalPages > 1) { ?>
    <?php if(!isset($labelPosition) || $labelPosition == 'top') { ?>
      <p class="label"><span class="audible">Pagination:</span>Page <?php echo $currentPage; ?> of <?php echo $totalPages; ?></p>
    <?php } ?>
    <ul role="navigation">
      <?php for($i = 1; $i <= $totalPages; $i++) { ?>
        <?php if($i == $currentPage) { ?>
          <li class="on"><p><span class="audible">You're currently on page </span><?php echo $i; ?></p></li>
        <?php } else { ?>
          <li><a href="<?php echo preg_replace('#(/page-\d+)?/list#', '', $requestUri); ?>/page-<?php echo $i; ?>/list"><span class="audible">Page </span><?php echo $i; ?></a></li>
        <?php } ?>
      <?php } ?>
    </ul>
    <?php if(isset($labelPosition) && $labelPosition == 'bottom') { ?>
      <p class="label"><span class="audible">Pagination:</span>Page <?php echo $currentPage; ?> of <?php echo $totalPages; ?></p>
    <?php } ?>
  <?php } ?>
</div>
{'fraction_non_alphanumeric': 0.2637524557956778, 'fraction_numerical': 0.00343811394891945, 'mean_word_length': 3.4573304157549236, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, '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': '4043935', 'n_tokens_mistral': 681, 'n_tokens_neox': 689, 'n_words': 159}