-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive.php
28 lines (24 loc) · 1.36 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
<?php $this->need('header.php');?>
<div class="article-list">
<?php while($this->next()):?>
<article class="post">
<header>
<h1 class="post-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h1>
<div class="post-date"><span><?php dateConvert($this->date->month); ?></span><span><?php $this->date('d'); ?></span></div>
</header>
<section class="post-content">
<?php $this->content('Read More »'); ?>
</section>
<p class="post-info"><?php $this->category(' / '); ?> Posted by <a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a><span class="comments"> / <a href="<?php $this->permalink(); ?>#comments"><?php $this->commentsNum('0', '1', '%d'); ?></a> comments</span></p>
<footer></footer>
</article>
<?php endwhile; ?>
<div class="index-pagenav cf">
<div class="page-nav">
<div class="page-prev left" title="<?php _e('上一页');?>"><?php $this->pageLink('<i class="icon icon-left"></i> Previous','prev');?></div>
<div class="page-next right" title="<?php _e('下一页');?>"><?php $this->pageLink('<i class="icon icon-right"></i>Next ','next');?></div>
</div>
</div>
</div>
</div>
<?php $this->need('footer.php'); ?>