forked from typecho-fans/themes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive.php
40 lines (33 loc) · 1.53 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
<?php $this->need('header.php'); ?>
<div id="main">
<div id="page-title-bg">
<div class="page-title-inner">
<h1 class="page-title"><span class="cross"></span><?php $this->archiveTitle('', '', ''); ?></h1>
</div>
</div><!--=E #page-title-bg -->
<div id="container" class="clearfix">
<div id="content">
<div id="post-group" class="clearfix">
<?php if ($this->have()): ?>
<?php while($this->next()): ?>
<article class="post">
<h1 class="post-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h1>
<div class="post-content">
<?php $this->content('Read More'); ?>
</div>
</article>
<?php endwhile; ?>
<?php else: ?>
<div class="post">
<h1 class="post-title"><?php _e('没有找到内容'); ?></h1>
</div>
<?php endif; ?>
</div><!--=E #post-group -->
<nav class="pagination clearfix">
<?php $this->pageNav('« Previous', 'Next »'); ?>
</nav>
</div><!--=E #content -->
<?php $this->need('sidebar.php'); ?>
</div><!--=E #container -->
</div><!--=E #main -->
<?php $this->need('footer.php'); ?>