From c704a41dc6ebced20623843c5c7a0c1282bc6c2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E5=8F=89=E6=A0=91=E6=A0=91?= Date: Thu, 15 Jan 2026 16:04:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E5=B9=B6=E7=A7=BB=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将多个页面的图片链接统一更新为新的CDN地址 移除布局文件中不再需要的外部脚本 更新背景图片配置为新的CDN地址 --- src/config.ts | 2 +- src/content/posts/pin.md | 2 +- src/content/posts/record.md | 2 +- src/layouts/Layout.astro | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/config.ts b/src/config.ts index 632a1a4c3..84b877850 100644 --- a/src/config.ts +++ b/src/config.ts @@ -37,7 +37,7 @@ export const siteConfig: SiteConfig = { }, background: { enable: true, // Enable background image - src: "", // Background image URL (supports HTTPS) + src: "https://t.alcy.cc/ycy", // Background image URL (supports HTTPS) position: "center", // Background position: 'top', 'center', 'bottom' size: "cover", // Background size: 'cover', 'contain', 'auto' repeat: "no-repeat", // Background repeat: 'no-repeat', 'repeat', 'repeat-x', 'repeat-y' diff --git a/src/content/posts/pin.md b/src/content/posts/pin.md index dcf2c6586..c141bd7ca 100644 --- a/src/content/posts/pin.md +++ b/src/content/posts/pin.md @@ -1,6 +1,6 @@ --- title: 加群向导 -image: /random/h +image: https://t.alcy.cc/ycy published: 2025-05-24 pinned: true category: 置顶 diff --git a/src/content/posts/record.md b/src/content/posts/record.md index e520d983c..8f1479321 100644 --- a/src/content/posts/record.md +++ b/src/content/posts/record.md @@ -2,7 +2,7 @@ category: 记录 description: 一些记录,不定时更新 draft: false -image: /random/h +image: https://t.alcy.cc/ycy lang: zh_CN published: 1999-01-01 tags: diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 24f7c1cb4..8881737cd 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -115,7 +115,6 @@ const bannerOffset = -