-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathindex.php
More file actions
49 lines (45 loc) · 1.55 KB
/
Copy pathindex.php
File metadata and controls
49 lines (45 loc) · 1.55 KB
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
/**
* 这是HanSon 基于material 的Typecho模板
*
* @package Material Theme
* @author HanSon
* @version 2.0.0
* @link http://hanc.cc
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<section class="billboard">
<div class="container">
<div class="row">
<div class="col-md-7">
<div class="intro animate fadeIn">
<h1><?php $this->options->slogan(); ?></h1>
<p class="lead"></p>
</div>
</div>
</div>
</div>
</section>
<div class="container">
<div class="row">
<div class="col-md-9">
<?php while($this->next()): ?>
<div class="panel panel-default">
<div class="panel-body">
<h3 class="post-title"><a href="<?php $this->permalink(); ?>"><?php $this->title(); ?></a></h3>
<div class="post-meta">
<span>作者:<a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a> | </span>
<span>时间:<?php $this->date('F j, Y'); ?> | </span>
<span>分类:<?php $this->category(','); ?> | </span>
<span>评论:<a href="<?php $this->permalink() ?>"><?php $this->commentsNum('%d 评论'); ?></a> </span>
</div>
<div class="post-content"><?php $this->content('Continue Reading...'); ?></div>
</div>
</div>
<?php endwhile; ?>
<?php $this->pageNav('<< 上一页', '下一页 >>'); ?>
</div>
<?php $this->need('sidebar.php'); ?>
<?php $this->need('footer.php'); ?>