-
Notifications
You must be signed in to change notification settings - Fork 33
/
page.php
20 lines (17 loc) · 840 Bytes
/
page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('component/header.php'); ?>
<div id="main" class="main" role="main">
<div class="main-inner clearfix">
<?php if (isPc()) $this->need('component/sidebar.php'); ?>
<div class="content-wrap">
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<h1 class="post-title" itemprop="name headline"><a class="post-title-link" itemprop="url" href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h1>
<div class="post-content" itemprop="articleBody">
<?php $this->content(); ?>
</div>
</article>
<?php $this->need('component/comments.php'); ?>
</div>
</div>
</div>
<?php $this->need('component/footer.php'); ?>