-
Notifications
You must be signed in to change notification settings - Fork 37
/
post.php
29 lines (28 loc) · 1.35 KB
/
post.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
26
27
28
29
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<?php $this->need('sidebar.php'); ?>
<div class="main-content" >
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<h1 class="text-gray"><?php $this->title() ?></h1>
<div class="panel-body">
<div class="row">
<div class="col-sm-12">
<blockquote>
<?php $this->content(); ?>
<br>
<?php if(isset($this->fields->url)){ ?>
<a href="<?php echo $this->fields->url;?>" rel="nofollow" target="_blank">立即访问 <i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
<?php };?>
</blockquote>
</div>
<?php $this->need('comments.php'); ?>
</div>
</div>
</div>
</div>
</div>
<br>
<!-- Main Footer -->
<?php $this->need('footer.php'); ?>