This repository was archived by the owner on Aug 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathindex.php
More file actions
36 lines (34 loc) · 1.37 KB
/
index.php
File metadata and controls
36 lines (34 loc) · 1.37 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
<?php
/**
* Junichi 是 Typecho 的一套主题模板,Junichi 这个主题的名字由来,是因为博主起名实在没天分,所以就用我宝贝儿子的英文名来命名。
*
* @package Junichi Theme
* @author Jet Li
* @version 1.2.2
* @link https://uefeng.com
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<div class="mid-col">
<div class="mid-col-container">
<?php while($this->next()): ?>
<article class="post post-list">
<div class="meta">
<div class="date">
<time><?php $this->date('M j, Y'); ?></time>
</div>
<div class="comment">
<a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum(_t(' No Comments '), _t(' %d Comments ')); ?></a>
</div>
</div>
<h1 class="title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h1>
<div class="entry-content">
<p><?php $this->excerpt(200);?></p>
<p><a href="<?php $this->permalink() ?>" class="more-link">继续阅读 »</a></p>
</div>
</article>
<?php endwhile; ?>
<nav class="page-navi"><?php $this->pageLink('<i class="icon icon-left"></i> 上一页','prev');?><?php $this->pageLink('<i class="icon icon-right"></i>下一页','next');?></nav>
</div>
<?php $this->need('footer.php'); ?>