<commit_before><?php
/**
 * 文章
 */
?>
<div id="post-<?php the_ID() ?>" class="xbug-article-block">
  <div class="mdl-typography--display-1">
    <?php the_title(); ?>
  </div>
  <div class="mdl-typography--font-light">标签：tag 时间：2016-12-12 作者：Wizard</div>
  <hr/>
  <div class="xbug-article-content">
    <?php the_content(); ?>
  </div>
  <hr/>
  <div class="mdl-typography--subhead-color-contrast">
    本文链接：<a href="<?php echo get_the_permalink(); ?>" title="<?php the_title()?>"><?php echo get_the_permalink(); ?></a>
  </div>
  <hr/>
  <div class="mdl-typography--subhead-color-contrast">
    <?php
    // 相关文章
    ?>
  </div>
  <hr/>
  <div class="mdl-typography--subhead-color-contrast">
    评论区
  </div>
  <div class="mdl-typography--subhead-color-contrast">
    历史评价
  </div>
</div><commit_msg>初步完成文章单页的数据展示<commit_after><?php
/**
 * 文章
 */
?>
<div id="post-<?php the_ID() ?>" class="xbug-article-block">
  <div class="mdl-typography--display-1">
      <?php the_title(); ?>
  </div>
  <div class="mdl-typography--font-light"><?php the_tags() ?> 时间：<?php echo get_the_date() . ' ' .
          get_the_time(); ?>作者：<?php the_author(); ?></div>
  <hr />
  <div class="xbug-article-content">
      <?php the_content(); ?>
  </div>
  <hr />
  <div class="mdl-typography--subhead-color-contrast">
    本文链接：<a href="<?php echo get_the_permalink(); ?>" title="<?php the_title() ?>"><?php echo get_the_permalink(); ?></a>
  </div>
  <hr />
  <div class="mdl-typography--subhead-color-contrast">
    <p>相关文章</p>
      <?php
      // 相关文章
      $postTags = get_the_tags();
      if ($postTags) {
          $tags = '';
          foreach ($postTags as $postTag) {
              $tags .= $postTag->term_id . ',';
          }
          query_posts(array(
              'tag__in' => explode(',', $tags),
              'post__not_in' => explode(',', $post->ID)
          ));
          while (have_posts()) {
              the_post();
              ?>
            <a href="<?php the_permalink(); ?>" target="_blank"><?php the_title(); ?></a>
              <?php
          }
          wp_reset_query();
      }
      ?>
  </div>
  <hr />
  <div class="mdl-typography--subhead-color-contrast">
      <?php
      if (comments_open() || get_comments_number()) :
          comments_template();
      endif;
      ?>
  </div>
</div>
{'fraction_non_alphanumeric': 0.22054380664652568, 'fraction_numerical': 0.0043159257660768235, 'mean_word_length': 2.4804804804804803, 'pattern_counts': {'":': 0, '<': 72, '<?xml version=': 0, '>': 76, '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': '3488004', 'n_tokens_mistral': 880, 'n_tokens_neox': 903, 'n_words': 137}