-
Notifications
You must be signed in to change notification settings - Fork 43
/
category.php
28 lines (27 loc) · 1.15 KB
/
category.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<main>
<section class="content">
<h1><?php $this->category(',', false); ?></h1>
<div class="meta"><?php echo $this->getDescription(); ?></div>
<div class="info"></div>
<ul class="archived-posts">
<?php while($this->next()): ?>
<li>
<time datetime="<?php $this->date('Y.m.j'); ?>"><?php $this->date('Y.m.j'); ?></time>
<a href="<?php $this->permalink() ?>"><?php $this->title() ?></a><?php if ($this->options->eyeshow == 'able'): ?> <span><?php get_post_view($this) ?>度</span><?php endif; ?>
</li>
<?php endwhile; ?>
</ul>
</section>
<section class="list-pager">
<?php $this->pageLink('<i class="iconfont icon-left"></i> 上一页'); ?>
<?php $this->pageLink('下一页<i class="iconfont icon-right"></i>','next'); ?>
<div class="clear">
</div>
</section>
</main>
</div>
<?php $this->need('footer.php'); ?>