diff --git a/src/components/ArticleCard/ArticleCard.astro b/src/components/ArticleCard/ArticleCard.astro index 38abf43..f278b42 100644 --- a/src/components/ArticleCard/ArticleCard.astro +++ b/src/components/ArticleCard/ArticleCard.astro @@ -1,5 +1,4 @@ --- -import { Image } from "astro:assets"; import { getDescription, fmtTime } from "@/utils/index"; const { post } = Astro.props; // 获取文章的摘要 @@ -13,7 +12,7 @@ import "./ArticleCard.less";
-
{post.data.title}
+
{post.data.title}
{post.data.categories} diff --git a/src/components/Aside/Aside.astro b/src/components/Aside/Aside.astro index eca5c75..4e37157 100644 --- a/src/components/Aside/Aside.astro +++ b/src/components/Aside/Aside.astro @@ -2,7 +2,6 @@ // 静态图片 // Svg 组件 import Svg from "@/components/Svg/Svg.astro"; -import { Image } from "astro:assets"; // 时间处理 import { fmtTime } from "@/utils/index"; // 获取用户配置数据 @@ -30,7 +29,7 @@ import "./Aside.less"; { AsideShow.WebSitesShow && (
- {Author} + {Author} {Author}

{Motto}