-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.php
41 lines (38 loc) · 1.34 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
<?php
/**
* 基于 Bootstrap 的 Typecho 主题
*
* @package Trapecho Theme
* @author Greg Wang
* @version 1.0.2
* @link http://dolast.com/pages/trapecho
*/
$this->need('header.php');
?>
<div class="row">
<div class="span9" id="content">
<?php while($this->next()): ?>
<div class="post">
<div class="page-header">
<h1>
<a href="<?php $this->permalink() ?>"><?php $this->title() ?></a>
<small></small>
</h1>
<h6>
<span><?php _e('作者:'); ?><?php $this->author(); ?></span>
<span><?php _e('发布时间:'); ?><?php $this->date('F j, Y'); ?></span>
<span><?php _e('分类:'); ?><?php $this->category(','); ?></span>
<a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('No Comments', '1 Comment', '%d Comments'); ?></a>
</h6>
</div>
<div class="entry-content"><?php $this->content('阅读剩余部分...'); ?></div>
</div>
<hr class="soften" />
<?php endwhile; ?>
<div class="pagination">
<?php $this->pageNav(); ?>
</div>
</div><!-- end #content-->
<?php $this->need('sidebar.php'); ?>
</div>
<?php $this->need('footer.php'); ?>