mirror of
https://codeberg.org/HPCesia/AstralHalo.git
synced 2025-04-08 17:34:27 +08:00
fix: asideconfig not has effect
This commit is contained in:
parent
8679d67a9f
commit
307182176d
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { commentConfig, siteConfig } from '@/config';
|
||||
import { asideConfig, commentConfig, siteConfig } from '@/config';
|
||||
import ProfileCard from '@components/aside/ProfileCard.astro';
|
||||
import ResentCommentsCard from '@components/aside/ResentCommentsCard.astro';
|
||||
import SiteInfoCard from '@components/aside/SiteInfoCard.astro';
|
||||
@ -36,6 +36,6 @@ const categories = await getCategories();
|
||||
<SiteInfoCard />
|
||||
</Fragment>
|
||||
<Fragment slot="aside-sticky">
|
||||
{commentConfig.enable && commentConfig.provider !== 'giscus' && <ResentCommentsCard />}
|
||||
{commentConfig.enable && asideConfig.recentComment.enable && <ResentCommentsCard />}
|
||||
</Fragment>
|
||||
</MainLayout>
|
||||
|
Loading…
Reference in New Issue
Block a user