forked from Dreamer-Paul/Fantasy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
31 lines (26 loc) · 767 Bytes
/
Copy pathindex.php
File metadata and controls
31 lines (26 loc) · 767 Bytes
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
<?php
/**
* 一个优美梦幻的动漫风 Typecho 博客主题。
*
* @package Fantasy Theme
* @author Dreamer-Paul
* @version 1.3
* @link https://paugram.com
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<main>
<div class="wrap min">
<section class="board">
<?php while($this->next()): ?>
<div class="post-item">
<time class="date"><?php $this->date(); ?></time>
<h3 class="title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h3>
</div>
<?php endwhile; ?>
</section>
<?php $this->pageNav('', '', 3, '...', array('wrapTag' => 'section', 'itemTag' => 'span')); ?>
</div>
</main>
<?php $this->need('footer.php'); ?>