From 14d4e6e94b3f86d7e45af15fd7833e7f405cfb17 Mon Sep 17 00:00:00 2001 From: Han <1655466387@qq.com> Date: Wed, 9 Apr 2025 09:53:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20SeoPush=20=E2=9C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ArticleCard/ArticleCard.astro | 3 +-- src/components/Aside/Aside.astro | 3 +-- src/components/Footer/Footer.astro | 6 ++---- src/config.ts | 6 ++++++ src/scripts/GoogleSeoPush.ts | 4 ---- src/scripts/Init.ts | 4 ++-- src/scripts/SeoPush.ts | 6 ++++++ 7 files changed, 18 insertions(+), 14 deletions(-) delete mode 100644 src/scripts/GoogleSeoPush.ts create mode 100644 src/scripts/SeoPush.ts 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}