summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorEltrac <45323514+BigCoke233@users.noreply.github.com>2020-01-23 14:01:34 +0800
committerGitHub <noreply@github.com>2020-01-23 14:01:34 +0800
commita8275515c7f82b3f45338b3e3133c9c1f70614af (patch)
tree741205eef38fb53d8d7ef91fb8d61f20d708c378 /index.php
parenta9f554ace3e6a9e54ab6d925addb7003be2d40f6 (diff)
✂️ Perf: 去掉显示评论数字的繁琐文字(None 和 Only 1)
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9a02261..eacb684 100644
--- a/index.php
+++ b/index.php
@@ -38,7 +38,7 @@ $this->need('includes/header.php');
}
?>
</p>
- <p class="post-meta"><i class="iconfont icon-block"></i> <?php $this->category(','); ?>&emsp;<i class="iconfont icon-comments"></i> <?php $this->commentsNum('None', 'Only 1', '%d'); ?>&emsp;<i class="iconfont icon-clock"></i> <?php $this->date(); ?></p>
+ <p class="post-meta"><i class="iconfont icon-block"></i> <?php $this->category(','); ?>&emsp;<i class="iconfont icon-comments"></i> <?php $this->commentsNum('0', '1', '%d'); ?>&emsp;<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>