-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.php
59 lines (48 loc) · 1.85 KB
/
index.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
50
51
52
53
54
55
56
57
58
59
<?php
/**
* zencolor is a theme for typecho
*
* @package zencolor
* @author Seita
* @version 0.1
* @link http://seita.me
*/
$this->need('header.php');
?>
<article class="post intro"> <!-- 这一段不是 copy, 是 clone,不需要请删除-->
<span style="font-size:40px;width: auto;
max-width: 90%;
margin: auto;
position: absolute;
left: 0;
right: 0;"><a href="http://wehoton.com" target="_blank" style="color:#fff;border-bottom:1px #ccc dotted">
<span style="font-family:'FontAwesome';margin:0;font-size:40px;"></span>
万花筒.</a></span>
<span>...</span>
<h2>一个属于学生,有关分享与探索的社区</h2>
</article> <!-- clone end here -->
<?php while($this->next()): ?>
<article class="post no-<?php $this->sequence() ?>">
<div class="container clearfix">
<header class="post-header">
<h1 class="post-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h1>
<div class="post-meta">
<span><?php _e('By '); ?><?php $this->author(); ?></span>
<span><?php _e('Published '); ?><?php $this->date('F j, Y'); ?></span>
<span><?php _e('Category in '); ?><?php $this->category(','); ?></span>
</div>
</header>
<div class="post-content">
<?php $this->content('Continue Reading'); ?>
</div>
</div>
</article>
<?php endwhile; ?>
<nav class="pagination">
<div class="container">
<?php $this->pageLink('Newer Posts →','prev'); ?>
<?php $this->pageLink('← Older Posts','next'); ?>
</div>
</nav>
<a href="https://me.alipay.com/chricy" target="_blank" class="badge"><img src="http://seita.u.qiniudn.com/static/img/donate.png" width="66px" alt="Donate to support my work!" class="donate"></a>
<?php $this->need('footer.php'); ?>