This repository was archived by the owner on Dec 30, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpost.php
More file actions
39 lines (39 loc) · 1.3 KB
/
post.php
File metadata and controls
39 lines (39 loc) · 1.3 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
37
38
39
<?php $this->need('header.php'); ?>
<div class="content grid-u-1 grid-u-med-3-4">
<h1 class="breadcrumbs" itemprop="breadcrumb">
<a href="<?php $this->options->siteUrl(); ?>">
首页
</a>
>
<?php $this->category(); ?> >
<?php $this->title() ?>
<span class="date">
<?php $this->date(); ?>
</span>
</h1>
<article class="post" id="<?php $this->cid() ?>">
<header class="post-header">
<a href="<?php $this->permalink() ?>" class="post-title">
<?php $this->title() ?>
</a>
</header>
<div class="post-content">
<p>
<?php $this->content(); ?>
</p>
</div>
<div class="tags">
<?php $this->tags(' ', true, '无'); ?>
</div>
</article>
<ul class="pager">
<li class="previous">
<?php thePrev($this); ?>
</li>
<li class="next">
<?php theNext($this); ?>
</li>
</ul>
<br>
<?php $this->need('comments.php'); ?>
<?php $this->need('footer.php'); ?>