summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--page.php3
-rw-r--r--post.php6
2 files changed, 3 insertions, 6 deletions
diff --git a/page.php b/page.php
index 4023e47..856add8 100644
--- a/page.php
+++ b/page.php
@@ -3,8 +3,7 @@ $this->need('includes/head.php');
$this->need('includes/header.php');
?>
<main class="main-container container">
- <div class="post-body">
- <!-- 页面内容 -->
+ <div class="post-body"><!-- 页面内容 -->
<div class="post-content page-content">
<?php $postCheck = Utils::isOutdated($this); if($postCheck["is"] && $this->is('post')): ?>
<div class="tip red">
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>