From 0b3bb8f7f27666e4b6415685a2ad06e41891f2d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E5=8F=89=E6=A0=91=E6=A0=91?= Date: Sat, 24 Jan 2026 16:19:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E9=93=BE=E6=8E=A5=E4=B8=BA=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将外部图片链接 https://t.alcy.cc/ycy 统一替换为本地路径 /random/h, 包括置顶文章、记录文章和站点背景配置,确保图片资源的稳定性和一致性。 --- src/config.ts | 2 +- src/content/posts/pin.md | 2 +- src/content/posts/record.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config.ts b/src/config.ts index 4c9873470..c11849bdc 100644 --- a/src/config.ts +++ b/src/config.ts @@ -44,7 +44,7 @@ export const siteConfig: SiteConfig = { }, background: { enable: true, // Enable background image - src: "https://t.alcy.cc/ycy", // Background image URL (supports HTTPS) + src: "/random/h", // 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 c141bd7ca..dcf2c6586 100644 --- a/src/content/posts/pin.md +++ b/src/content/posts/pin.md @@ -1,6 +1,6 @@ --- title: 加群向导 -image: https://t.alcy.cc/ycy +image: /random/h published: 2025-05-24 pinned: true category: 置顶 diff --git a/src/content/posts/record.md b/src/content/posts/record.md index 8f1479321..e520d983c 100644 --- a/src/content/posts/record.md +++ b/src/content/posts/record.md @@ -2,7 +2,7 @@ category: 记录 description: 一些记录,不定时更新 draft: false -image: https://t.alcy.cc/ycy +image: /random/h lang: zh_CN published: 1999-01-01 tags: