-
Notifications
You must be signed in to change notification settings - Fork 4
/
archive.php
38 lines (36 loc) · 1.43 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
<?php $this->need('header.php'); ?>
<div class="row">
<div class="span9" id="content">
<?php if ($this->have()): ?>
<?php while($this->next()): ?>
<div class="post">
<div class="page-header">
<h1>
<a href="<?php $this->permalink() ?>"><?php $this->title() ?></a>
<small></small>
</h1>
<h6>
<span><?php _e('作者:'); ?><?php $this->author(); ?></span>
<span><?php _e('发布时间:'); ?><?php $this->date('F j, Y'); ?></span>
<span><?php _e('分类:'); ?><?php $this->category(','); ?></span>
<a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('No Comments', '1 Comment', '%d Comments'); ?></a>
</h6>
</div>
<div class="entry-content"><?php $this->content('阅读剩余部分...'); ?></div>
</div>
<hr class="soften" />
<?php endwhile; ?>
<?php else: ?>
<div class="row">
<div class="span9">
<h2 class="entry-title"><?php _e('没有找到内容'); ?></h2>
</div>
</div>
<?php endif; ?>
<div class="pagination">
<?php $this->pageNav(); ?>
</div>
</div><!-- end #content-->
<?php $this->need('sidebar.php'); ?>
</div>
<?php $this->need('footer.php'); ?>