-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
71 lines (50 loc) · 1.51 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
60
61
62
63
64
65
66
67
68
69
70
71
<?php
/**
* 这是 Typecho 0.9 系统的一套默认皮肤
*
* @package My Theme
* @author stu
* @version 0.1
* @link http://typecho.org
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<article class="content">
<?php while($this->next()): ?>
<article class='post'>
<a href="<?php $this->permalink(); ?>" >
<div class='img-thumbnail'>
<img src="" class="post-img" alt="<?php $this->title() ?>" />
</div>
</a>
<h2 class='post-title entry-title'>
<a href="<?php $this->permalink(); ?>" title='<?php $this->title() ?>'>
<?php $this->title() ?>
</a>
</h2>
<div class='post-info'>
<span class='author-info'>
<?php _e('作者: '); $this->author(); ?>
</span>
<span class='time-info'>
<?php _e('时间: '); $this->date('F j, Y'); ?>
</span>
<span class='comment-info'>
<?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?>
</span>
</div>
<p class='post-body entry-content' id='post-body-688'>
<?php $this->excerpt(60, '.....'); ?>
</p>
<a class='read-more' href="<?php $this->permalink(); ?>" title='Social Media Validation Tools'> Read More </a>
<div style='clear:both'></div>
</article>
<div class="hh"></div>
<?php endwhile; ?>
<?php $this->pageNav('«', '»'); ?>
<!-- end .content --></article>
<?php $this->need('sidebar.php'); ?>
<div style="clear: both;"> </div>
<!-- end .container --></div>
<?php $this->need('footer.php'); ?>