diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2019-12-14 16:25:23 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-14 16:25:23 +0800 |
| commit | ea9f6ff3e2bbe323528e8ea169de231dc9ca0ba5 (patch) | |
| tree | a6ee19088c4a04976fc221684252571bf1a9dbe4 /includes/header.php | |
| parent | 6f14be5c6de9a6613ddfc8dca9f65b684f1f9cd2 (diff) | |
🔖 Fix: 修复隐藏元信息时不统计浏览次数的问题
Diffstat (limited to 'includes/header.php')
| -rw-r--r-- | includes/header.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/header.php b/includes/header.php index bb08ec1..13a6b4b 100644 --- a/includes/header.php +++ b/includes/header.php @@ -167,7 +167,7 @@ <h1><?php $this->title(); ?></h1> <p class="header-meta"><?php if($this->fields->meta==''): ?> <?php if($this->is('post')): ?> - <i class="iconfont icon-block" title="文章分类"></i> <?php $this->category(','); ?> <?php endif; ?><i class="iconfont icon-comments" title="共 <?php $this->commentsNum('None', '1', '%d'); ?> 条评论"></i> <?php $this->commentsNum('None', 'Only 1', '%d'); ?> <i class="iconfont icon-clock" title="该文章发布于 <?php $this->date(); ?>"></i> <?php $this->date(); ?> <i class="icon-view iconfont" title="该文章被浏览 <?php get_post_view($this) ?> 次"></i> <?php get_post_view($this) ?><?php else: echo $this->fields->meta; endif; ?> + <i class="iconfont icon-block" title="文章分类"></i> <?php $this->category(','); ?> <?php endif; ?><i class="iconfont icon-comments" title="共 <?php $this->commentsNum('None', '1', '%d'); ?> 条评论"></i> <?php $this->commentsNum('None', 'Only 1', '%d'); ?> <i class="iconfont icon-clock" title="该文章发布于 <?php $this->date(); ?>"></i> <?php $this->date(); ?> <i class="icon-view iconfont" title="该文章被浏览 <?php get_post_view($this) ?> 次"></i> <?php get_post_view($this) ?><?php else: echo $this->fields->meta;?><div style="display:none"><?php get_post_view($this) ?></div><?php endif; ?> </p> <?php else: ?><?php endif; ?> </div> |
