-
Notifications
You must be signed in to change notification settings - Fork 90
/
page.php
25 lines (23 loc) · 1.18 KB
/
page.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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<div id="main" class="col-mb-12 col-8 col-offset-2">
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<div class="post-header">
<h3 class="post-title"><a href="<?php $this->permalink() ?>" class="post-link"><?php $this->title() ?></a></h3>
<div class="post-meta">
<span class="post-meta-label post-meta-views"><?php Contents::getPostView($this); ?>次阅读</span>
<span class="post-meta-label post-meta-date"><?php $this->date(); ?></span>
</div>
</div>
<div class="post-body">
<div class="post-content">
<?php $this->content(); ?>
</div>
<?php Contents::getPostOther($this); ?>
<div class="post-update"><i class="iconfont icon-aria-date"></i> 最后一次更新于<?php echo date($this->options->postDateFormat,$this->modified) ?></div>
</div>
</article>
<?php $this->need('comments.php'); ?>
</div><!-- end #main-->
<?php if($this->fields->showTOC) $this->need('TOC.php'); ?>
<?php $this->need('footer.php'); ?>