-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
32 lines (25 loc) · 912 Bytes
/
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
<?php
/**
* 这是基于官方模板二次设计的一套皮肤,用于66a.biz网站
*
* @package Helloty
* @author TypechoTeam & Ryita
* @version 2.0
* @link http://www.zzfly.net
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<div id="main" class="col-mb-12 col-9" role="main">
<?php while($this->next()): ?>
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<h2 class="post-title" itemprop="name headline"><a itemtype="url" href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<div class="post-content" itemprop="articleBody">
<?php $this->excerpt('100','...'); ?>
</div>
</article>
<?php endwhile; ?>
<?php $this->pageNav('« 前一页', '后一页 »'); ?>
</div><!-- end #main-->
<?php $this->need('sidebar.php'); ?>
<?php $this->need('footer.php'); ?>