diff options
| author | BigCoke233 <hi@guhub.cn> | 2020-07-10 22:58:49 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2020-07-10 22:58:49 +0800 |
| commit | 4901b642cd90a9124a4ca5732210707caa030290 (patch) | |
| tree | 5bb5954a5b306e88e5125d4b44a80710c1f146c0 /includes/header.php | |
| parent | 39b4e65156bb35e5a23ef1904d16716cd9562ab1 (diff) | |
:zap: Perf: 兼容 typecho 自带反垃圾功能,并优化代码结构
Diffstat (limited to 'includes/header.php')
| -rw-r--r-- | includes/header.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/header.php b/includes/header.php index c38fb55..56c0db1 100644 --- a/includes/header.php +++ b/includes/header.php @@ -147,10 +147,10 @@ </div> <div class="header-meta-line-two"> <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) ?> + <i class="icon-view iconfont" title="该文章被浏览 <?php Contents::postViews($this) ?> 次"></i> <?php Contents::postViews($this) ?> </div> <?php else: ?> - <?php $this->fields->meta(); ?><div style="display:none"><?php get_post_view($this) ?></div> + <?php $this->fields->meta(); ?><div style="display:none"><?php Contents::postViews($this) ?></div> <?php endif; ?> </div> <?php elseif($this->is('archive')): ?> |
