-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
36 lines (31 loc) · 844 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
33
34
35
36
<?php
/**
* tmaize
* 原作者:https://github.com/TMaize/tmaize-blog
* @package tmaize
* @author <a href="https://imxxz.cn">森木志</a>
* @version 1.0.0
* @link https://imxxz.cn
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<div class="page page-index">
<div class="list-post">
<ul>
<?php while($this->next()): ?>
<li>
<span class="date"><?php $this->date('Y/m/d'); ?></span>
<div class="title">
<a href="<?php $this->permalink() ?>" class="hover-underline"><?php $this->title() ?></a>
</div>
<div class="categories">
<?php $this->category(','); ?>
</div>
</li>
<?php endwhile; ?>
</ul>
</div>
<?php $this->need('fenye.php'); ?>
</div>
<?php $this->need('footer.php'); ?>