-
Notifications
You must be signed in to change notification settings - Fork 3
/
author.php
executable file
·37 lines (37 loc) · 1.37 KB
/
author.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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<main>
<header>
<div class="container">
<h1>作者</h1>
<p class="subtitle">这是<span class="count"><?php $this->archiveTitle(array('author' => _t('%s'),), ''); ?></span>所撰写所有的文章。</p>
</div>
</header>
<section>
<div class="container">
<section>
<section>
<div class="posts">
<?php while($this->next()): ?>
<div class="post">
<a href="<?php $this->permalink() ?>">
<div class="post-row">
<time><?php $this->date('M j'); ?></time>
<h3><?php $this->title() ?></h3>
</div>
</a>
</div>
<?php endwhile; ?>
</div>
</section>
</section>
</div>
<div class="container">
<nav class="flex container suggested">
<?php $this->pageLink('上一页','prev'); ?>
<?php $this->pageLink('下一页','next'); ?>
</nav>
</div>
</section>
</main>
<?php $this->need('footer.php'); ?>