Skip to content

Commit

Permalink
🔨 修复 友链页面无内容时存在多余卡片问题
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaoo committed Dec 4, 2023
1 parent 23e0f2d commit 21400a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions links.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package custom
* @author Bhao
* @link https://dwd.moe/
* @date 2023-07-19
* @date 2023-12-04
*/

if (!defined('__TYPECHO_ROOT_DIR__')) exit;
Expand All @@ -14,10 +14,12 @@
<div class="mdui-col-md-8 page-content">
<?php Links() ?>
<div class="mdui-col-sm-12">
<?php if ($this->content) { ?>
<div class="mdui-card post-content mdui-typo">
<?php parseContent($this->content); ?>
</div>
<?php $this->need('includes/comments.php'); ?>
<?php }
$this->need('includes/comments.php'); ?>
</div>
</div>
<?php $this -> need('includes/sidebar.php'); ?>
Expand Down

0 comments on commit 21400a4

Please sign in to comment.