diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2020-01-23 14:01:34 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-23 14:01:34 +0800 |
| commit | a8275515c7f82b3f45338b3e3133c9c1f70614af (patch) | |
| tree | 741205eef38fb53d8d7ef91fb8d61f20d708c378 /index.php | |
| parent | a9f554ace3e6a9e54ab6d925addb7003be2d40f6 (diff) | |
✂️ Perf: 去掉显示评论数字的繁琐文字(None 和 Only 1)
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ $this->need('includes/header.php'); } ?> </p> - <p class="post-meta"><i class="iconfont icon-block"></i> <?php $this->category(','); ?> <i class="iconfont icon-comments"></i> <?php $this->commentsNum('None', 'Only 1', '%d'); ?> <i class="iconfont icon-clock"></i> <?php $this->date(); ?></p> + <p class="post-meta"><i class="iconfont icon-block"></i> <?php $this->category(','); ?> <i class="iconfont icon-comments"></i> <?php $this->commentsNum('0', '1', '%d'); ?> <i class="iconfont icon-clock"></i> <?php $this->date(); ?></p> <p class="post-button-box large-screen"><a href="<?php $this->permalink(); ?>" class="button post-button">Read More</a></p> </div> </div></div> |
