forked from moriW/typecho-theme-kibou
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
executable file
·22 lines (17 loc) · 868 Bytes
/
page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php'); ?>
<article itemscope="" itemtype="http://schema.org/BlogPosting">
<div class="blog-post">
<h2 class="blog-post-title" itemprop="name headline"><?php $this->title() ?></h2>
<p class="blog-post-meta">
<a itemprop="name" href="<?php $this->author->permalink(); ?>" rel="author"><?php $this->author(); ?></a> •
<time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php $this->date('Y-m-d'); ?></time>
<?php if (PluginCheck::tePostViewsExists() == true): _e('阅读: '); $this->viewsNum(); endif; ?>
</p>
<?php // echo PostRenderer::parse($this->content); ?>
<?php $this->content(); ?>
</div>
</article><!-- /.blog-post -->
<?php $this->need('comments.php'); ?>
<?php $this->need('footer.php'); ?>