Replace SITE_CONFIG, UI_CONFIG, METADATA_CONFIG... to SITE, UI, METADATA...
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import { APP_BLOG_CONFIG } from '~/utils/config';
|
||||
import { APP_BLOG } from '~/utils/config';
|
||||
import type { Post } from '~/types';
|
||||
|
||||
import Image from '~/components/common/Image.astro';
|
||||
@@ -39,7 +39,7 @@ const image = (await findImage(post.image));
|
||||
</div>
|
||||
<h3 class="mb-2 text-xl font-bold leading-tight sm:text-2xl font-heading">
|
||||
{
|
||||
!APP_BLOG_CONFIG?.post?.isEnabled ? (
|
||||
!APP_BLOG?.post?.isEnabled ? (
|
||||
post.title
|
||||
) : (
|
||||
<a
|
||||
|
Reference in New Issue
Block a user