Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@
<?php elseif($this->is('archive') && isset($this->request->year)): ?>
<?php echo $this->request->year; ?>年发布的文章 - <?php $this->options->title(); ?>
<?php else:?>
<?php if ($this->is('post')): ?>
<?php echo $this->row['title']; ?> - <?php $this->options->title(); ?>
<?php else: ?>
<?php $this->archiveTitle([
'category' => _t('%s'),
'search' => _t('包含关键字 %s 的文章'),
'tag' => _t('标签 %s 下的文章'),
'author' => _t('%s 发布的文章')
], '', ' - '); ?><?php $this->options->title(); ?>
<?php endif; ?>
<?php endif; ?>
</title>
<link href="https://cncdn.cc/animate.css/4.1.1/animate.min.css" rel="stylesheet"><!--动画效果-->
<link href="//at.alicdn.com/t/c/font_3940454_lp08yxn46sl.css" rel="stylesheet"/><!---图标库 iconfont.cn -->
Expand Down Expand Up @@ -90,4 +94,4 @@
<div class="progress"></div>
</div>
</div>
<div id="main" style="display:<?php echo $hasLoaded ? '' : 'none'; ?>;">
<div id="main" style="display:<?php echo $hasLoaded ? '' : 'none'; ?>;">