From 22409c9222cc2ccc0b32953cf0d8dfb00fd0ec37 Mon Sep 17 00:00:00 2001
From: Ad-closeNN <1709301095@qq.com>
Date: Sat, 28 Feb 2026 17:38:53 +0800
Subject: [PATCH] =?UTF-8?q?style:=20=E8=BF=81=E7=A7=BB=20Cloudflare?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.gitignore | 14 +-------------
astro.config.mjs | 2 +-
netlify.toml | 4 ----
src/components/Footer.astro | 13 +++++++++----
src/config.ts | 4 ++--
src/content/posts/folo_verify.md | 4 ++--
src/content/spec/about.md | 2 +-
src/pages/friends.astro | 8 ++++----
src/pages/rss.xml.ts | 1 -
vercel.json | 1 -
10 files changed, 20 insertions(+), 33 deletions(-)
delete mode 100644 netlify.toml
delete mode 100644 vercel.json
diff --git a/.gitignore b/.gitignore
index f0eab77..add254c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,16 +24,4 @@ pnpm-debug.log*
package-lock.json
bun.lockb
-yarn.lock
-
-# My test files
-duolingo.py
-duolingo copy.py
-test.py
-temp.js
-
-Yeah*.json
-main*.py
-
-# Coming Soon...
-gh-actions-daily-task.md
\ No newline at end of file
+yarn.lock
\ No newline at end of file
diff --git a/astro.config.mjs b/astro.config.mjs
index 300f1d8..c85f423 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -27,7 +27,7 @@ import rehypeExternalLinks from 'rehype-external-links';
// https://astro.build/config
export default defineConfig({
- site: "https://adclosenn.top",
+ site: "https://blog.adclosenn.top",
base: "/",
trailingSlash: "always",
integrations: [
diff --git a/netlify.toml b/netlify.toml
deleted file mode 100644
index af35f66..0000000
--- a/netlify.toml
+++ /dev/null
@@ -1,4 +0,0 @@
-[[headers]]
- for = "/*"
- [headers.values]
- cache-control = "no-cache"
\ No newline at end of file
diff --git a/src/components/Footer.astro b/src/components/Footer.astro
index 88d9112..243061c 100644
--- a/src/components/Footer.astro
+++ b/src/components/Footer.astro
@@ -25,10 +25,15 @@ const currentYear = new Date().getFullYear();
强力驱动
由
- Netlify
- 构建并部署至全球 Amazon CDN 节点
+ Cloudflare
+ 构建并部署至全球 Cloudflare CDN 节点
-
-
+
\ No newline at end of file
diff --git a/src/config.ts b/src/config.ts
index 42de28f..576ca91 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -10,7 +10,7 @@ import { LinkPreset } from "./types/config";
export const siteConfig: SiteConfig = {
title: "Ad_closeNN 的小站",
- subtitle: "Ad_closeNN の 小站,时不时会刷新一些野生东西 | ✨ 欢迎友链,天天开心! ✨",
+ subtitle: "Ad_closeNN の 小站,时不时会刷新一些野生东西 | ✨ 欢迎友链 ✨",
lang: "zh_CN", // Language code, e.g. 'en', 'zh-CN', 'ja', etc.
themeColor: {
hue: 140, // Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345
@@ -59,7 +59,7 @@ export const navBarConfig: NavBarConfig = {
LinkPreset.Archive,
LinkPreset.About,
{
- name: "友情链接",
+ name: "友链",
url: "/friends/", // Internal links should not include the base path, as it is automatically added
external: false, // Show an external link icon and will open in a new tab
},
diff --git a/src/content/posts/folo_verify.md b/src/content/posts/folo_verify.md
index c743452..2e832d2 100644
--- a/src/content/posts/folo_verify.md
+++ b/src/content/posts/folo_verify.md
@@ -21,11 +21,11 @@ Folo 也就是之前的 Follow,只不过改名成了 Folo。
**RSS 标签** 这种方法适用于悄无声息地认证。
**纯文本** 这种方法适合大部分博客。
-本站使用 [RSS 标签](#rss-标签) 方法进行订阅源认证:[rss.xml](https://adclosenn.top/rss.xml) 。
+本站使用 [RSS 标签](#rss-标签) 方法进行订阅源认证:[rss.xml](https://blog.adclosenn.top/rss.xml) 。
# 纯文本认证
这种方法极其简单,你只需要发一篇文章到你的博客或者其他平台即可。本质上就是通过读取你的 RSS 订阅文件,查看里面是否有 Folo 给出的文本。所以认证文本**必须**要可在 RSS 订阅文件找到。
-[https://adclosenn.top/rss.xml](https://adclosenn.top/rss.xml) 这个是本站的 RSS 订阅源地址,你可以在最下面的 Footer 处找到。
+[https://blog.adclosenn.top/rss.xml](https://blog.adclosenn.top/rss.xml) 这个是本站的 RSS 订阅源地址,你可以在最下面的 Footer 处找到。
你需要将类似如这串文本(可在 Folo 中复制)粘贴到你的文章中(不要使用我的,每个人的都不一样):
diff --git a/src/content/spec/about.md b/src/content/spec/about.md
index 90096bf..7c74060 100644
--- a/src/content/spec/about.md
+++ b/src/content/spec/about.md
@@ -8,7 +8,7 @@
::github{repo="afoim/fuwari"}
# 站点分流
-经过几个月的测试,**本站**之后将弃用 Netlify 托管,转而使用免费且更强大的 Cloudflare。之前使用过的分流测试版站点已移除。
+经过几个月的测试,**本站**之后将弃用 Netlify 托管,转而使用免费且更强大的 Cloudflare。之前使用过的分流测试版站点已移除。谢谢 Netlify,你好 Cloudflare!
# 关于我
一位住在 [中华人民共和国广西壮族自治区](https://baike.baidu.com/item/%E5%B9%BF%E8%A5%BF%E5%A3%AE%E6%97%8F%E8%87%AA%E6%B2%BB%E5%8C%BA/163178) 的学生。 [me.adclosenn.top](https://me.adclosenn.top)
diff --git a/src/pages/friends.astro b/src/pages/friends.astro
index 953d19c..8d3f0be 100644
--- a/src/pages/friends.astro
+++ b/src/pages/friends.astro
@@ -13,12 +13,12 @@ import { Icon } from "astro-icon/components";