-
Notifications
You must be signed in to change notification settings - Fork 16
/
archive.php
49 lines (46 loc) · 1.55 KB
/
archive.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php $this->need('header.php'); ?>
<div class="content">
<div class="container">
<div class="entry arthive">
<div class="entry-left">
<h2 class="entry-title">
<?php $this->archiveTitle(array(
'category' => _t('分类 "%s" 下的文章'),
'search' => _t('包含关键字 "%s" 的文章'),
'tag' => _t('标签 "%s" 下的文章'),
'author' => _t('"%s" 发布的文章')
), '', ''); ?>
</h2>
</div>
</div>
<?php while($this->next()): ?>
<div class="entry">
<div class="entry-left">
<h1 class="entry-title">
<a itemtype="url" href="<?php $this->permalink() ?>"><?php $this->title() ?></a>
</h1>
<div class="entry-meta" itemprop="keywords">
<span>by <a href="<?php $this->author->permalink(); ?>"><?php $this->author() ?></a> ·
<?php $this->date('Y-m-d');?></span> · <?php $this->category(','); ?>
</div>
</div>
<div class="entry-content">
<?php $this->content(''); ?>
</div>
<div class="post-tags">
<?php $this->tags(' ', true, ''); ?>
</div>
<div class="more">
<a class="btn" href="<?php $this->permalink() ?>">阅读全文 »</a>
</div>
<div class="clearfix"></div>
</div>
<?php endwhile; ?>
<div class="pagination" role="pagination">
<?php $this->pageLink('<','prev'); ?>
<?php $this->pageLink('>','next'); ?>
<div class="clearfix"></div>
</div>
</div>
</div>
<?php $this->need('footer.php'); ?>