summaryrefslogtreecommitdiffstats
path: root/post.php
diff options
context:
space:
mode:
authorEltrac <45323514+BigCoke233@users.noreply.github.com>2019-11-30 15:08:25 +0800
committerGitHub <noreply@github.com>2019-11-30 15:08:25 +0800
commit304caf347330f12c9fc4122d382d390dce337b5c (patch)
treeb8add2c3da5f733a7ad87b7afe8183667658e244 /post.php
parentc86f62c037b707f263c61485c431902c20fb109e (diff)
💫 Perf: 细节调整
Diffstat (limited to 'post.php')
-rw-r--r--post.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/post.php b/post.php
index 65e2bc8..5cc225b 100644
--- a/post.php
+++ b/post.php
@@ -4,8 +4,7 @@ $this->need('includes/header.php');
?>
<main class="main-container container">
<div class="post-body">
- <!-- 文章内容 -->
- <div class="post-content">
+ <div class="post-content"><!-- 文章内容 -->
<?php $postCheck = Utils::isOutdated($this); if($postCheck["is"] && $this->is('post')): ?>
<div class="tip red">
<div class="container-fluid"><div class="row">
@@ -17,8 +16,7 @@ $this->need('includes/header.php');
<?php $this->content(); ?>
<br />
</div>
- <!-- 文章页脚 -->
- <div class="post-footer">
+ <div class="post-footer"><!-- 文章页脚 -->
<span class="post-tags"><i class="iconfont icon-tags"></i> <?php $this->tags(' ', true, '这人还没有写标签哦~'); ?></span>
</div>
</div>