summaryrefslogtreecommitdiffstats
path: root/post.php
diff options
context:
space:
mode:
authorEltrac <45323514+BigCoke233@users.noreply.github.com>2019-07-19 16:37:01 +0800
committerGitHub <noreply@github.com>2019-07-19 16:37:01 +0800
commit5456d7d2b91ecd801902ecc7adea7db94db79fa6 (patch)
tree60b8b16219b94bb422f14a9bc1ef88d4bcbc93fa /post.php
parent525276d9c9dca8e404c99598c1ad4fc285563c68 (diff)
Bug Fix/CSS improve
Diffstat (limited to 'post.php')
-rw-r--r--post.php13
1 files changed, 5 insertions, 8 deletions
diff --git a/post.php b/post.php
index 3bf51cb..082dd27 100644
--- a/post.php
+++ b/post.php
@@ -2,23 +2,20 @@
$this->need('includes/head.php');
$this->need('includes/header.php');
?>
-
<main class="main-container container">
<div class="post-body">
+ <!-- 文章内容 -->
<div class="post-content">
- <?php Contents::parseContent($this->content()); ?>
+ <?php $this->content(); ?>
<br />
+ <!-- 文章页脚 -->
<div class="post-footer">
- <p>
+ <p class="post-content">
<span class="post-tags"><i class="iconfont icon-tags"></i> <?php $this->tags(' ', true, '这人还没有写标签哦~'); ?></span>
</p>
</div>
</div>
</div>
-
-
- <?php $this->need('includes/comments.php'); ?>
-
+<?php $this->need('includes/comments.php'); ?>
</main>
-
<?php $this->need('includes/footer.php'); ?> \ No newline at end of file