forked from txperl/Story-for-Typecho
-
Notifications
You must be signed in to change notification settings - Fork 0
/
archive.php
48 lines (44 loc) · 1.57 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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<div class="container-fluid">
<div class="row">
<div class="archive-header">
<span><?php $this->archiveTitle(array(
'category' => _t('- Category · %s -'),
'search' => _t('- Search · %s -'),
'tag' => _t('- Tag · %s -'),
'author' => _t('- Author · %s -')
), '', ''); ?></span>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div id="main" role="main">
<ul class="post-list clearfix">
<?php if ($this->have()): ?>
<?php while($this->next()): ?>
<li class="post-item grid-item" itemscope itemtype="http://schema.org/BlogPosting">
<a class="post-link" href="<?php $this->permalink() ?>">
<h3 class="post-title"><time class="index-time" datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php $this->date('M j, Y'); ?></time><br><?php $this->title() ?></h3>
<div class="post-meta">
<?php echo $this->category; ?>
</div>
</a>
</li>
<?php endwhile; ?>
<?php else: ?>
<br><br>
<h2 class="post-title"><center><?php _e('(´°̥̥̥̥̥̥̥̥ω°̥̥̥̥̥̥̥̥`) 什么都没有找到唉...'); ?></center></h2>
<?php endif; ?>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="nav-page">
<?php $this->pageNav('«', '»'); ?>
</div>
</div>
</div>
<?php $this->need('footer.php'); ?>