This commit is contained in:
杜恒 2021-02-21 18:11:12 +08:00
parent ca365723e4
commit a8a2f3e2ff
2 changed files with 2 additions and 2 deletions

View File

@ -309,7 +309,7 @@ function themeConfig($form)
'author' => '作者栏',
'timelife' => '计时栏',
'weather' => '天气栏需先在下方填写KEY值',
'hot' => '热门文章栏(首页时,热门文章和侧栏热门文章只会显示其中一个)',
'hot' => '热门文章栏',
'ranking' => '排行榜栏',
'newreply' => '最新回复栏'
),

View File

@ -39,7 +39,7 @@
<div class="joe_aside__item-contain"></div>
</section>
<?php endif; ?>
<?php if ($this->is('index') && $this->options->JIndex_Hot !== "on" || !$this->is('index') && in_array('hot', $this->options->JAside)) : ?>
<?php if (in_array('hot', $this->options->JAside)) : ?>
<section class="joe_aside__item hot">
<div class="joe_aside__item-title">
<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="18" height="18">