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 节点
- Deploys by Netlify - + Cloudflare \ 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";
- +
- -
Netlify(主站托管平台)
+ +
Cloudflare
-
亚马逊 AWS CDN
+
本站使用的托管平台&CDN&赛博菩萨
diff --git a/src/pages/rss.xml.ts b/src/pages/rss.xml.ts index 72159fb..36ceb2c 100644 --- a/src/pages/rss.xml.ts +++ b/src/pages/rss.xml.ts @@ -79,7 +79,6 @@ export async function GET(context: APIContext) { description: siteConfig.subtitle || 'No description', site: context.site, items: feed, - // 准备迎接我的 Folo 之验证吧!——鲁迅 not 达摩(bushi customData: `${siteConfig.lang}17735037994913587283370505718413312`, }); } diff --git a/vercel.json b/vercel.json deleted file mode 100644 index 0967ef4..0000000 --- a/vercel.json +++ /dev/null @@ -1 +0,0 @@ -{}