From ad301b9d4f789d34c3978e8607482ec39f506dc6 Mon Sep 17 00:00:00 2001 From: RiseForever Date: Fri, 28 Aug 2026 09:28:04 +0800 Subject: [PATCH] =?UTF-8?q?Webmention=20=E5=A2=9E=E5=8A=A0=20Frontmatter?= =?UTF-8?q?=20=E7=8B=AC=E7=AB=8B=E6=8E=A7=E5=88=B6=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/EngagementTabs.astro | 61 ++++++++++++------- src/components/SeoHead.astro | 6 +- src/components/Webmentions.astro | 6 +- src/content.config.ts | 1 + src/content/posts/2023/07/wp-174.md | 1 + src/content/posts/2023/07/wp-179.md | 1 + src/content/posts/2023/07/wp-187.md | 1 + src/content/posts/2023/09/wp-190.md | 1 + src/content/posts/2023/10/wp-199.md | 1 + src/content/posts/2023/10/wp-203.md | 1 + src/content/posts/2023/12/wp-105.md | 1 + src/content/posts/2023/12/wp-137.md | 1 + src/content/posts/2023/12/wp-83.md | 1 + src/content/posts/2023/12/wp-93.md | 1 + src/content/posts/2024/01/wp-167.md | 1 + src/content/posts/2024/01/wp-230.md | 1 + src/content/posts/2024/01/wp-255.md | 1 + src/content/posts/2024/02/wp-99.md | 1 + src/content/posts/2024/03/wp-284.md | 1 + src/content/posts/2024/07/wp-101.md | 1 + src/content/posts/2024/07/wp-371.md | 1 + src/content/posts/2024/10/new-project-lmos.md | 1 + src/content/posts/2024/10/weekly-41.md | 1 + src/content/posts/2024/10/weekly-43.md | 1 + .../posts/2024/11/answer-a-questionnaire.md | 1 + src/content/posts/2024/11/small-touch.md | 1 + src/content/posts/2024/11/weekly-44.md | 1 + src/content/posts/2024/11/weekly-45.md | 1 + src/content/posts/2024/11/weekly-47.md | 1 + src/content/posts/2024/11/weekly-48.md | 1 + src/content/posts/2024/12/weekly-49.md | 1 + src/content/posts/2024/12/weekly-50.md | 1 + src/content/posts/2024/12/weekly-51.md | 1 + src/content/posts/2025/01/happy-new-year.md | 1 + src/content/posts/2025/01/weekly-1-1.md | 1 + .../posts/2025/01/wordpress-database-edit.md | 1 + .../posts/2025/02/new-project-rstatus.md | 1 + .../posts/2025/02/reinstall-wordpress.md | 1 + .../posts/2025/02/rstatus-open-source.md | 1 + .../2025/02/terrifying-website-attack.md | 1 + src/content/posts/2025/02/weekly-2-1.md | 1 + src/content/posts/2025/02/weekly-2-2.md | 1 + .../posts/2025/02/winter-holiday-summary.md | 1 + src/content/posts/2025/03/jiyu-trainer.md | 1 + .../2025/03/redmi-watch-5-esim-evaluation.md | 1 + src/content/posts/2025/03/weekly-3-1.md | 1 + src/content/posts/2025/04/weekly-4-1.md | 1 + src/content/posts/2025/04/weekly-4-2.md | 1 + src/content/posts/2025/05/weekly-5-1.md | 1 + src/content/posts/2025/05/weekly-5-2.md | 1 + src/content/posts/2025/05/weekly-5-3.md | 1 + .../2025/06/final-test-of-junior-high.md | 1 + src/content/posts/2025/06/weekly-6-1.md | 1 + .../posts/2025/07/dev-huomiao-debugger.md | 1 + src/content/posts/2025/07/dev-tzg-creator.md | 1 + .../2025/07/summary-of-the-final-test.md | 1 + src/content/posts/2025/07/travel-to-wuhan.md | 1 + .../08/answer-the-question-of-dayu-again.md | 1 + .../08/build-a-quick-app-for-vela-devices.md | 1 + .../2025/08/summary-of-summer-holiday.md | 1 + .../08/what-is-new-in-xiaomi-hyper-os-3.md | 1 + src/content/posts/2025/09/weekly-9-1.md | 1 + src/content/posts/2025/09/weekly-9-2.md | 1 + src/content/posts/2025/09/weekly-9-3.md | 1 + .../posts/2025/10/change-domain-3rd.md | 1 + src/content/posts/2025/10/examination-2nd.md | 1 + src/content/posts/2025/10/fake-sz-true-xs.md | 1 + .../posts/2025/10/national-holiday-summary.md | 1 + src/content/posts/2025/10/weekly-10-1.md | 1 + ...ntroller-will-not-become-a-mobile-phone.md | 1 + .../posts/2025/11/blog-self-reflection.md | 1 + .../11/how-to-compile-twikoo-by-yourself.md | 1 + .../posts/2025/11/november-blog-update.md | 1 + .../2025/11/open-source-sorts-of-software.md | 1 + src/content/posts/2025/11/tic-watch-pro-3.md | 1 + src/content/posts/2025/12/2025-summary.md | 1 + ...-8-high-school-pc-system-reinstall-tips.md | 1 + .../posts/2025/12/redmi-watch-5-os3.md | 1 + .../posts/2026/01/new-project-random.md | 1 + .../01/redmi-watch-5-quickapp-limit-crack.md | 1 + src/content/posts/2026/02/feb-update.md | 1 + .../02/i-dont-need-a-truly-smart-watch.md | 1 + ...ch-5-esim-quickapp-limit-crack-continue.md | 1 + .../posts/2026/02/the-last-about-o65m.md | 1 + .../05/during-the-time-i-stopped-blogging.md | 1 + ...se-ai-to-convert-from-other-blog-system.md | 1 + src/content/posts/2026/07/104.md | 1 + src/content/posts/2026/07/108.md | 1 + ...nation-regarding-abnormal-email-sending.md | 1 + src/content/posts/2026/07/july.md | 1 + src/content/posts/2026/07/june.md | 1 + src/content/posts/2026/07/new-laptop.md | 1 + ...a-leter-i-wrote-to-myself-two-years-ago.md | 1 + src/content/posts/2026/08/august.md | 1 + src/content/posts/2026/08/back-to-astro.md | 1 + .../2026/08/eidolon-short-code-preview.md | 1 + src/content/posts/2026/08/interesting-girl.md | 1 + .../posts/2026/08/mouse-pad-from-blogsclub.md | 1 + .../posts/2026/08/new-theme-eidolon.md | 1 + src/content/posts/2026/08/weekly-8-1.md | 1 + src/layouts/BaseLayout.astro | 6 +- src/pages/posts/[...slug].astro | 3 +- 102 files changed, 148 insertions(+), 31 deletions(-) diff --git a/src/components/EngagementTabs.astro b/src/components/EngagementTabs.astro index dd20aab..04d5ff1 100644 --- a/src/components/EngagementTabs.astro +++ b/src/components/EngagementTabs.astro @@ -5,24 +5,26 @@ import { siteConfig } from '@/site.config'; interface Props { commentsEnabled: boolean; + webmentionEnabled: boolean; path: string; target: string; } -const { commentsEnabled, path, target } = Astro.props; -const webmentionsEnabled = siteConfig.webmentions.enabled && Boolean(siteConfig.webmentions.endpoint.trim()); +const { commentsEnabled, webmentionEnabled, path, target } = Astro.props; +const showWebmention = webmentionEnabled && siteConfig.webmentions.enabled && Boolean(siteConfig.webmentions.endpoint.trim()); const commentsConfigured = siteConfig.comments.provider === 'twikoo'; const showComments = commentsEnabled && commentsConfigured; +const showTabs = showWebmention && showComments; --- -{(webmentionsEnabled || showComments) &&
- + >评论 + : } - {webmentionsEnabled && } {showComments && } @@ -83,6 +85,16 @@ const showComments = commentsEnabled && commentsConfigured; border-bottom: 1px solid var(--color-border); } + .engagement-title { + margin: 0; + padding: 1.5rem 0 0; + color: var(--color-text); + font-family: var(--reading-font-family); + font-size: 1.5rem; + font-weight: 500; + line-height: 1.4; + } + .engagement-tab { position: relative; align-self: stretch; @@ -143,6 +155,11 @@ const showComments = commentsEnabled && commentsConfigured; min-height: 3rem; } + .engagement-title { + padding-top: 1.25rem; + font-size: 1.375rem; + } + .engagement-panel { padding-top: 1.25rem; } diff --git a/src/components/SeoHead.astro b/src/components/SeoHead.astro index af33eb9..fd42eed 100644 --- a/src/components/SeoHead.astro +++ b/src/components/SeoHead.astro @@ -8,6 +8,7 @@ interface Props { image?: string; type?: 'website' | 'article'; noindex?: boolean; + webmention?: boolean; } const { @@ -15,12 +16,13 @@ const { description = siteConfig.site.description, image, type = 'website', - noindex = false + noindex = false, + webmention = false } = Astro.props; const pageTitle = title ? `${title} - ${siteConfig.site.title}` : siteConfig.site.title; const canonical = new URL(Astro.url.pathname, siteConfig.site.url); const imageUrl = image ? new URL(image, siteConfig.site.url) : undefined; -const webmentionEndpoint = siteConfig.webmentions.enabled && siteConfig.webmentions.endpoint.trim() +const webmentionEndpoint = webmention && siteConfig.webmentions.enabled && siteConfig.webmentions.endpoint.trim() ? getWebmentionEndpoint(siteConfig.webmentions.endpoint, 'receive') : undefined; --- diff --git a/src/components/Webmentions.astro b/src/components/Webmentions.astro index 1150b61..1eb8bf5 100644 --- a/src/components/Webmentions.astro +++ b/src/components/Webmentions.astro @@ -24,9 +24,9 @@ const getEndpoint = endpoint ? getWebmentionEndpoint(endpoint, 'get') : ''; data-site-origin={new URL(siteConfig.site.url).origin} data-pagefind-ignore="all" > -

WebMention

+

Webmention

-
+
@@ -51,7 +51,7 @@ const getEndpoint = endpoint ? getWebmentionEndpoint(endpoint, 'get') : '';
{config.form &&
- +
diff --git a/src/content.config.ts b/src/content.config.ts index 5402772..142f9fd 100644 --- a/src/content.config.ts +++ b/src/content.config.ts @@ -20,6 +20,7 @@ const baseSchema = z.object({ z.object({ enabled: z.boolean().default(true), position: z.enum(['left', 'right']).default('right') }) ]).default(true), comments: z.boolean().default(false), + webmention: z.boolean().default(false), math: z.boolean().default(false), mermaid: z.boolean().default(false) }); diff --git a/src/content/posts/2023/07/wp-174.md b/src/content/posts/2023/07/wp-174.md index f7f5e4d..f82ade4 100644 --- a/src/content/posts/2023/07/wp-174.md +++ b/src/content/posts/2023/07/wp-174.md @@ -8,6 +8,7 @@ categories: tags: - "Windows" comments: true +webmention: true --- diff --git a/src/content/posts/2023/07/wp-179.md b/src/content/posts/2023/07/wp-179.md index f98f871..62bf0be 100644 --- a/src/content/posts/2023/07/wp-179.md +++ b/src/content/posts/2023/07/wp-179.md @@ -8,6 +8,7 @@ categories: tags: - "优化" comments: true +webmention: true ---

前言

diff --git a/src/content/posts/2023/07/wp-187.md b/src/content/posts/2023/07/wp-187.md index a7bda42..244e32d 100644 --- a/src/content/posts/2023/07/wp-187.md +++ b/src/content/posts/2023/07/wp-187.md @@ -7,6 +7,7 @@ categories: - "生活" tags: [] comments: true +webmention: true ---

前言

diff --git a/src/content/posts/2023/09/wp-190.md b/src/content/posts/2023/09/wp-190.md index fbc8d43..cf24d64 100644 --- a/src/content/posts/2023/09/wp-190.md +++ b/src/content/posts/2023/09/wp-190.md @@ -7,6 +7,7 @@ categories: - "生活" tags: comments: true +webmention: true ---

前言

diff --git a/src/content/posts/2023/10/wp-199.md b/src/content/posts/2023/10/wp-199.md index 9650ae4..9a9bf04 100644 --- a/src/content/posts/2023/10/wp-199.md +++ b/src/content/posts/2023/10/wp-199.md @@ -7,6 +7,7 @@ categories: - "科技" tags: comments: true +webmention: true ---

前言

diff --git a/src/content/posts/2023/10/wp-203.md b/src/content/posts/2023/10/wp-203.md index 4327f1d..77584f6 100644 --- a/src/content/posts/2023/10/wp-203.md +++ b/src/content/posts/2023/10/wp-203.md @@ -8,6 +8,7 @@ categories: tags: - "WordPress" comments: true +webmention: true ---

前言

diff --git a/src/content/posts/2023/12/wp-105.md b/src/content/posts/2023/12/wp-105.md index aab19bc..e64f72d 100644 --- a/src/content/posts/2023/12/wp-105.md +++ b/src/content/posts/2023/12/wp-105.md @@ -9,6 +9,7 @@ tags: - "Windows" - "优化" comments: true +webmention: true ---

前言

diff --git a/src/content/posts/2023/12/wp-137.md b/src/content/posts/2023/12/wp-137.md index d380b68..76e8571 100644 --- a/src/content/posts/2023/12/wp-137.md +++ b/src/content/posts/2023/12/wp-137.md @@ -7,6 +7,7 @@ categories: - "生活" tags: comments: true +webmention: true --- 大家好,我是路明。 diff --git a/src/content/posts/2023/12/wp-83.md b/src/content/posts/2023/12/wp-83.md index 7dcac5d..305fbd6 100644 --- a/src/content/posts/2023/12/wp-83.md +++ b/src/content/posts/2023/12/wp-83.md @@ -11,6 +11,7 @@ tags: - "电子课程表" - "软件" comments: true +webmention: true --- 2023 年 12 月 24 日,“峄校智表” 项目进行了 KB1024 的更新进程。 diff --git a/src/content/posts/2023/12/wp-93.md b/src/content/posts/2023/12/wp-93.md index a9100c3..246e8c1 100644 --- a/src/content/posts/2023/12/wp-93.md +++ b/src/content/posts/2023/12/wp-93.md @@ -7,6 +7,7 @@ categories: - "科技" tags: comments: true +webmention: true ---

前言

diff --git a/src/content/posts/2024/01/wp-167.md b/src/content/posts/2024/01/wp-167.md index 251ac10..1e8ff09 100644 --- a/src/content/posts/2024/01/wp-167.md +++ b/src/content/posts/2024/01/wp-167.md @@ -8,6 +8,7 @@ categories: tags: - "WordPress" comments: true +webmention: true ---

前言

diff --git a/src/content/posts/2024/01/wp-230.md b/src/content/posts/2024/01/wp-230.md index 5429a0f..ddebb93 100644 --- a/src/content/posts/2024/01/wp-230.md +++ b/src/content/posts/2024/01/wp-230.md @@ -9,6 +9,7 @@ tags: - "Windows" - "优化" comments: true +webmention: true ---

前言

diff --git a/src/content/posts/2024/01/wp-255.md b/src/content/posts/2024/01/wp-255.md index cb4470b..b2241dc 100644 --- a/src/content/posts/2024/01/wp-255.md +++ b/src/content/posts/2024/01/wp-255.md @@ -7,6 +7,7 @@ categories: - "生活" tags: comments: true +webmention: true ---

前言

diff --git a/src/content/posts/2024/02/wp-99.md b/src/content/posts/2024/02/wp-99.md index 5400c56..eaa75e3 100644 --- a/src/content/posts/2024/02/wp-99.md +++ b/src/content/posts/2024/02/wp-99.md @@ -10,6 +10,7 @@ tags: - "蓝屏" - "软件" comments: true +webmention: true --- 就在刚刚,2024年的大年初一,我们蓝屏工具箱开发团队正式且自豪地向大家宣布:蓝屏工具箱4.0的正式版本,今天,发布了!今天,请允许我以蓝屏工具箱开发团队的身份来向大家介绍蓝屏工具箱这款软件。 diff --git a/src/content/posts/2024/03/wp-284.md b/src/content/posts/2024/03/wp-284.md index e522936..8aa7deb 100644 --- a/src/content/posts/2024/03/wp-284.md +++ b/src/content/posts/2024/03/wp-284.md @@ -8,6 +8,7 @@ categories: tags: - "安卓" comments: true +webmention: true ---

前言

diff --git a/src/content/posts/2024/07/wp-101.md b/src/content/posts/2024/07/wp-101.md index 29bd102..7ecf84e 100644 --- a/src/content/posts/2024/07/wp-101.md +++ b/src/content/posts/2024/07/wp-101.md @@ -12,6 +12,7 @@ tags: - "蓝屏" - "课表" comments: true +webmention: true --- 经考虑,我们决定停运峄校智表软件。 diff --git a/src/content/posts/2024/07/wp-371.md b/src/content/posts/2024/07/wp-371.md index 97fec30..6e469ca 100644 --- a/src/content/posts/2024/07/wp-371.md +++ b/src/content/posts/2024/07/wp-371.md @@ -10,6 +10,7 @@ tags: - "易语言" - "软件" comments: true +webmention: true ---

前言

diff --git a/src/content/posts/2024/10/new-project-lmos.md b/src/content/posts/2024/10/new-project-lmos.md index b5119ac..4bb40eb 100644 --- a/src/content/posts/2024/10/new-project-lmos.md +++ b/src/content/posts/2024/10/new-project-lmos.md @@ -8,6 +8,7 @@ categories: tags: - "易语言" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2024/10/weekly-41.md b/src/content/posts/2024/10/weekly-41.md index 3eae0aa..f1d1207 100644 --- a/src/content/posts/2024/10/weekly-41.md +++ b/src/content/posts/2024/10/weekly-41.md @@ -7,6 +7,7 @@ categories: tags: - "校园" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2024/10/weekly-43.md b/src/content/posts/2024/10/weekly-43.md index 196b9b9..1b08291 100644 --- a/src/content/posts/2024/10/weekly-43.md +++ b/src/content/posts/2024/10/weekly-43.md @@ -7,6 +7,7 @@ categories: tags: - "校园" comments: true +webmention: true --- ## 总述 diff --git a/src/content/posts/2024/11/answer-a-questionnaire.md b/src/content/posts/2024/11/answer-a-questionnaire.md index 1c7c9e3..128239f 100644 --- a/src/content/posts/2024/11/answer-a-questionnaire.md +++ b/src/content/posts/2024/11/answer-a-questionnaire.md @@ -8,6 +8,7 @@ categories: tags: - "问卷" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2024/11/small-touch.md b/src/content/posts/2024/11/small-touch.md index 72a3232..dd37a79 100644 --- a/src/content/posts/2024/11/small-touch.md +++ b/src/content/posts/2024/11/small-touch.md @@ -8,6 +8,7 @@ categories: tags: - "校园" comments: true +webmention: true --- 本周四晚活动课,我像往常一样打着乒乓球。在接近尾声时,一群小学生吃完饭,排着整齐的队列回班。这时,他们班的班主任老师跑了过来,说了声:”让我试试呗”。 diff --git a/src/content/posts/2024/11/weekly-44.md b/src/content/posts/2024/11/weekly-44.md index 0443f02..a396277 100644 --- a/src/content/posts/2024/11/weekly-44.md +++ b/src/content/posts/2024/11/weekly-44.md @@ -8,6 +8,7 @@ categories: tags: - "校园" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2024/11/weekly-45.md b/src/content/posts/2024/11/weekly-45.md index c0c1999..98bbab2 100644 --- a/src/content/posts/2024/11/weekly-45.md +++ b/src/content/posts/2024/11/weekly-45.md @@ -8,6 +8,7 @@ categories: tags: - "考试" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2024/11/weekly-47.md b/src/content/posts/2024/11/weekly-47.md index 81ac7f8..7fe70ca 100644 --- a/src/content/posts/2024/11/weekly-47.md +++ b/src/content/posts/2024/11/weekly-47.md @@ -8,6 +8,7 @@ categories: tags: - "研学" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2024/11/weekly-48.md b/src/content/posts/2024/11/weekly-48.md index e65126e..34b2557 100644 --- a/src/content/posts/2024/11/weekly-48.md +++ b/src/content/posts/2024/11/weekly-48.md @@ -9,6 +9,7 @@ tags: - "游戏" - "睡眠" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2024/12/weekly-49.md b/src/content/posts/2024/12/weekly-49.md index 63f5bfd..b2609a3 100644 --- a/src/content/posts/2024/12/weekly-49.md +++ b/src/content/posts/2024/12/weekly-49.md @@ -8,6 +8,7 @@ categories: tags: - "校园" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2024/12/weekly-50.md b/src/content/posts/2024/12/weekly-50.md index 976a184..10d285b 100644 --- a/src/content/posts/2024/12/weekly-50.md +++ b/src/content/posts/2024/12/weekly-50.md @@ -9,6 +9,7 @@ tags: - "校园" - "考试" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2024/12/weekly-51.md b/src/content/posts/2024/12/weekly-51.md index a705a01..5cce91c 100644 --- a/src/content/posts/2024/12/weekly-51.md +++ b/src/content/posts/2024/12/weekly-51.md @@ -9,6 +9,7 @@ tags: - "校园" - "考试" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/01/happy-new-year.md b/src/content/posts/2025/01/happy-new-year.md index 4eb0004..6f0026f 100644 --- a/src/content/posts/2025/01/happy-new-year.md +++ b/src/content/posts/2025/01/happy-new-year.md @@ -7,6 +7,7 @@ categories: - "公告" tags: comments: true +webmention: true --- 真快,仿佛上一秒还在写2024年元旦文章,现在都已经开始写2025的了。 diff --git a/src/content/posts/2025/01/weekly-1-1.md b/src/content/posts/2025/01/weekly-1-1.md index 23d3b2a..ec42950 100644 --- a/src/content/posts/2025/01/weekly-1-1.md +++ b/src/content/posts/2025/01/weekly-1-1.md @@ -7,6 +7,7 @@ categories: - "生活" tags: comments: true +webmention: true --- 很抱歉我拖更了这么久,最近发生的事情很多很多。 diff --git a/src/content/posts/2025/01/wordpress-database-edit.md b/src/content/posts/2025/01/wordpress-database-edit.md index ca1dba4..159f851 100644 --- a/src/content/posts/2025/01/wordpress-database-edit.md +++ b/src/content/posts/2025/01/wordpress-database-edit.md @@ -8,6 +8,7 @@ categories: tags: - "WordPress" comments: true +webmention: true --- > 人非圣贤,孰能无过。我也是一名学习人,难免会犯错误。如果本文有任何不恰当的地方/您有更优的方法,请您在本篇文章的评论区留言,我将第一时间采纳。谢谢您! diff --git a/src/content/posts/2025/02/new-project-rstatus.md b/src/content/posts/2025/02/new-project-rstatus.md index 7cffa09..feffcf0 100644 --- a/src/content/posts/2025/02/new-project-rstatus.md +++ b/src/content/posts/2025/02/new-project-rstatus.md @@ -9,6 +9,7 @@ tags: - "Python" - "易语言" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/02/reinstall-wordpress.md b/src/content/posts/2025/02/reinstall-wordpress.md index 8ca070f..3d0b3ce 100644 --- a/src/content/posts/2025/02/reinstall-wordpress.md +++ b/src/content/posts/2025/02/reinstall-wordpress.md @@ -8,6 +8,7 @@ categories: tags: - "WordPress" comments: true +webmention: true --- 5日下午,我在使用Follow给我自己的网站认证。但就在验证这一关里,它频频报错: diff --git a/src/content/posts/2025/02/rstatus-open-source.md b/src/content/posts/2025/02/rstatus-open-source.md index 51544e5..10272df 100644 --- a/src/content/posts/2025/02/rstatus-open-source.md +++ b/src/content/posts/2025/02/rstatus-open-source.md @@ -9,6 +9,7 @@ tags: - "Python" - "易语言" comments: true +webmention: true --- 如你所见,RStatus视奸系统现已在Github平台开源,基于Apache 2.0协议。 diff --git a/src/content/posts/2025/02/terrifying-website-attack.md b/src/content/posts/2025/02/terrifying-website-attack.md index 1f51b2b..08a2e3b 100644 --- a/src/content/posts/2025/02/terrifying-website-attack.md +++ b/src/content/posts/2025/02/terrifying-website-attack.md @@ -8,6 +8,7 @@ categories: tags: - "WordPress" comments: true +webmention: true --- ## 事发 diff --git a/src/content/posts/2025/02/weekly-2-1.md b/src/content/posts/2025/02/weekly-2-1.md index 9aeaef6..eaef472 100644 --- a/src/content/posts/2025/02/weekly-2-1.md +++ b/src/content/posts/2025/02/weekly-2-1.md @@ -8,6 +8,7 @@ categories: tags: - "网站" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/02/weekly-2-2.md b/src/content/posts/2025/02/weekly-2-2.md index 7e0eda6..c46f4cc 100644 --- a/src/content/posts/2025/02/weekly-2-2.md +++ b/src/content/posts/2025/02/weekly-2-2.md @@ -10,6 +10,7 @@ tags: - "手表" - "校园" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/02/winter-holiday-summary.md b/src/content/posts/2025/02/winter-holiday-summary.md index 33d734b..a0f35f9 100644 --- a/src/content/posts/2025/02/winter-holiday-summary.md +++ b/src/content/posts/2025/02/winter-holiday-summary.md @@ -10,6 +10,7 @@ tags: - "生活" - "读书" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/03/jiyu-trainer.md b/src/content/posts/2025/03/jiyu-trainer.md index 1f9988d..07ed303 100644 --- a/src/content/posts/2025/03/jiyu-trainer.md +++ b/src/content/posts/2025/03/jiyu-trainer.md @@ -7,6 +7,7 @@ categories: tags: - "校园" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/03/redmi-watch-5-esim-evaluation.md b/src/content/posts/2025/03/redmi-watch-5-esim-evaluation.md index 4694a87..74b27fa 100644 --- a/src/content/posts/2025/03/redmi-watch-5-esim-evaluation.md +++ b/src/content/posts/2025/03/redmi-watch-5-esim-evaluation.md @@ -8,6 +8,7 @@ categories: tags: - "手表" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/03/weekly-3-1.md b/src/content/posts/2025/03/weekly-3-1.md index ac3b418..fbc5b1d 100644 --- a/src/content/posts/2025/03/weekly-3-1.md +++ b/src/content/posts/2025/03/weekly-3-1.md @@ -7,6 +7,7 @@ categories: - "生活" tags: comments: true +webmention: true --- What can i say ? diff --git a/src/content/posts/2025/04/weekly-4-1.md b/src/content/posts/2025/04/weekly-4-1.md index 6343eb2..c3692a3 100644 --- a/src/content/posts/2025/04/weekly-4-1.md +++ b/src/content/posts/2025/04/weekly-4-1.md @@ -8,6 +8,7 @@ categories: tags: - "校园" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/04/weekly-4-2.md b/src/content/posts/2025/04/weekly-4-2.md index f73a945..53b2a66 100644 --- a/src/content/posts/2025/04/weekly-4-2.md +++ b/src/content/posts/2025/04/weekly-4-2.md @@ -9,6 +9,7 @@ tags: - "校园" - "考试" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/05/weekly-5-1.md b/src/content/posts/2025/05/weekly-5-1.md index 28816f2..5a04b67 100644 --- a/src/content/posts/2025/05/weekly-5-1.md +++ b/src/content/posts/2025/05/weekly-5-1.md @@ -8,6 +8,7 @@ categories: tags: - "考试" comments: true +webmention: true --- 本篇周记日期范围:04/20-4/30(两周一起写)。 diff --git a/src/content/posts/2025/05/weekly-5-2.md b/src/content/posts/2025/05/weekly-5-2.md index 192a4c6..42b05fb 100644 --- a/src/content/posts/2025/05/weekly-5-2.md +++ b/src/content/posts/2025/05/weekly-5-2.md @@ -10,6 +10,7 @@ tags: - "校园" - "考试" comments: true +webmention: true --- 这篇文章写于2025年5月23日,距离河南省中招考试还有29天。 diff --git a/src/content/posts/2025/05/weekly-5-3.md b/src/content/posts/2025/05/weekly-5-3.md index 2d9e04f..7211917 100644 --- a/src/content/posts/2025/05/weekly-5-3.md +++ b/src/content/posts/2025/05/weekly-5-3.md @@ -9,6 +9,7 @@ tags: - "易语言" - "校园" comments: true +webmention: true --- 今天是 2025 年 5 月 31 日,端午节。朋友们,你们吃粽子了吗? diff --git a/src/content/posts/2025/06/final-test-of-junior-high.md b/src/content/posts/2025/06/final-test-of-junior-high.md index bb801c4..93d29ee 100644 --- a/src/content/posts/2025/06/final-test-of-junior-high.md +++ b/src/content/posts/2025/06/final-test-of-junior-high.md @@ -7,6 +7,7 @@ categories: - "公告" tags: comments: true +webmention: true --- 今日中考。祝愿所有的考生都能考上自己的第一志愿,金榜题名! diff --git a/src/content/posts/2025/06/weekly-6-1.md b/src/content/posts/2025/06/weekly-6-1.md index a0a405b..5a4a97c 100644 --- a/src/content/posts/2025/06/weekly-6-1.md +++ b/src/content/posts/2025/06/weekly-6-1.md @@ -8,6 +8,7 @@ categories: tags: - "校园" comments: true +webmention: true --- 各位朋友,晚上好。欢迎收看Riseforever在25年6月的第一篇周记。 diff --git a/src/content/posts/2025/07/dev-huomiao-debugger.md b/src/content/posts/2025/07/dev-huomiao-debugger.md index da86f6a..6420ac7 100644 --- a/src/content/posts/2025/07/dev-huomiao-debugger.md +++ b/src/content/posts/2025/07/dev-huomiao-debugger.md @@ -9,6 +9,7 @@ tags: - "开发" - "易语言" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/07/dev-tzg-creator.md b/src/content/posts/2025/07/dev-tzg-creator.md index 1161b73..c45f4dd 100644 --- a/src/content/posts/2025/07/dev-tzg-creator.md +++ b/src/content/posts/2025/07/dev-tzg-creator.md @@ -10,6 +10,7 @@ tags: - "生活" - "软件" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/07/summary-of-the-final-test.md b/src/content/posts/2025/07/summary-of-the-final-test.md index dc7b4d4..45a28d2 100644 --- a/src/content/posts/2025/07/summary-of-the-final-test.md +++ b/src/content/posts/2025/07/summary-of-the-final-test.md @@ -8,6 +8,7 @@ categories: tags: - "人生大事" comments: true +webmention: true --- 朋友们,好久不见。转眼间,洛阳市中考已经结束了,我已经是一名准高中生了。中考结束,怅然若失,让我把最近的经历讲给你听。 diff --git a/src/content/posts/2025/07/travel-to-wuhan.md b/src/content/posts/2025/07/travel-to-wuhan.md index 2598d97..072e99f 100644 --- a/src/content/posts/2025/07/travel-to-wuhan.md +++ b/src/content/posts/2025/07/travel-to-wuhan.md @@ -8,6 +8,7 @@ categories: tags: - "人生大事" comments: true +webmention: true --- ## 前言(摘要) diff --git a/src/content/posts/2025/08/answer-the-question-of-dayu-again.md b/src/content/posts/2025/08/answer-the-question-of-dayu-again.md index abbaa98..72f3f3a 100644 --- a/src/content/posts/2025/08/answer-the-question-of-dayu-again.md +++ b/src/content/posts/2025/08/answer-the-question-of-dayu-again.md @@ -8,6 +8,7 @@ categories: tags: - "问卷" comments: true +webmention: true --- 朋友们,上午好。 diff --git a/src/content/posts/2025/08/build-a-quick-app-for-vela-devices.md b/src/content/posts/2025/08/build-a-quick-app-for-vela-devices.md index e4acfb8..a561e67 100644 --- a/src/content/posts/2025/08/build-a-quick-app-for-vela-devices.md +++ b/src/content/posts/2025/08/build-a-quick-app-for-vela-devices.md @@ -9,6 +9,7 @@ tags: - "Vela" - "开发" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/08/summary-of-summer-holiday.md b/src/content/posts/2025/08/summary-of-summer-holiday.md index 163199b..9ce6540 100644 --- a/src/content/posts/2025/08/summary-of-summer-holiday.md +++ b/src/content/posts/2025/08/summary-of-summer-holiday.md @@ -10,6 +10,7 @@ tags: - "生活" - "软件" comments: true +webmention: true --- diff --git a/src/content/posts/2025/08/what-is-new-in-xiaomi-hyper-os-3.md b/src/content/posts/2025/08/what-is-new-in-xiaomi-hyper-os-3.md index def3f41..7c66f36 100644 --- a/src/content/posts/2025/08/what-is-new-in-xiaomi-hyper-os-3.md +++ b/src/content/posts/2025/08/what-is-new-in-xiaomi-hyper-os-3.md @@ -10,6 +10,7 @@ tags: - "系统" - "软件" comments: true +webmention: true --- 晚上好,朋友们。今天下午三点半,我准时蹲守,观看了小米澎湃OS3的发布会。看完之后,我心血来潮,因为我突然感到了小米做系统的认真和负责。所以,我撰写了本篇文章,希望能帮助大家理解,小米澎湃OS 3,究竟更新了什么。 diff --git a/src/content/posts/2025/09/weekly-9-1.md b/src/content/posts/2025/09/weekly-9-1.md index acbbe21..804a74a 100644 --- a/src/content/posts/2025/09/weekly-9-1.md +++ b/src/content/posts/2025/09/weekly-9-1.md @@ -8,6 +8,7 @@ categories: tags: - "校园" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/09/weekly-9-2.md b/src/content/posts/2025/09/weekly-9-2.md index b1e67f5..ec7fbbe 100644 --- a/src/content/posts/2025/09/weekly-9-2.md +++ b/src/content/posts/2025/09/weekly-9-2.md @@ -8,6 +8,7 @@ categories: tags: - "校园" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/09/weekly-9-3.md b/src/content/posts/2025/09/weekly-9-3.md index d172e8a..6ac6d83 100644 --- a/src/content/posts/2025/09/weekly-9-3.md +++ b/src/content/posts/2025/09/weekly-9-3.md @@ -8,6 +8,7 @@ tags: - "校园" comments: true math: true +webmention: true --- 本周关键词:`驳校报强制投稿`、`驳离谱校规`、`《731》`、`想象中的小米手环10Pro+`、`好题分享`、`一体机声卡炸了`、`博客更新`。 diff --git a/src/content/posts/2025/10/change-domain-3rd.md b/src/content/posts/2025/10/change-domain-3rd.md index e6da514..d55258e 100644 --- a/src/content/posts/2025/10/change-domain-3rd.md +++ b/src/content/posts/2025/10/change-domain-3rd.md @@ -7,6 +7,7 @@ categories: tags: - "公告" comments: true +webmention: true --- ## 更换说明 diff --git a/src/content/posts/2025/10/examination-2nd.md b/src/content/posts/2025/10/examination-2nd.md index 07fb49f..b4c6a91 100644 --- a/src/content/posts/2025/10/examination-2nd.md +++ b/src/content/posts/2025/10/examination-2nd.md @@ -8,6 +8,7 @@ tags: - "生活" - "考试" comments: true +webmention: true --- 真快,心还停留在得知中考成绩时的失落,现实中我已在高中经历了两次月考。第二次月考成绩出来之后,我想抱抱以前的自己。 diff --git a/src/content/posts/2025/10/fake-sz-true-xs.md b/src/content/posts/2025/10/fake-sz-true-xs.md index 521b58d..9153d9d 100644 --- a/src/content/posts/2025/10/fake-sz-true-xs.md +++ b/src/content/posts/2025/10/fake-sz-true-xs.md @@ -8,6 +8,7 @@ tags: - "学校" - "议论" comments: true +webmention: true --- > 鸡蛋碰不过石头,本文事例非本人经历,没有针对任何学校,若对号入座,那你就是对的。 diff --git a/src/content/posts/2025/10/national-holiday-summary.md b/src/content/posts/2025/10/national-holiday-summary.md index 2c2da34..6cf3a7a 100644 --- a/src/content/posts/2025/10/national-holiday-summary.md +++ b/src/content/posts/2025/10/national-holiday-summary.md @@ -7,6 +7,7 @@ categories: tags: - "生活" comments: true +webmention: true --- ## 标签 diff --git a/src/content/posts/2025/10/weekly-10-1.md b/src/content/posts/2025/10/weekly-10-1.md index 43f5950..74d90da 100644 --- a/src/content/posts/2025/10/weekly-10-1.md +++ b/src/content/posts/2025/10/weekly-10-1.md @@ -9,6 +9,7 @@ tags: - "校园" - "疾病" comments: true +webmention: true --- 忽然发现“周记”栏目好久没有更新了,那我就来写一篇水一下。 diff --git a/src/content/posts/2025/11/a-microcontroller-will-not-become-a-mobile-phone.md b/src/content/posts/2025/11/a-microcontroller-will-not-become-a-mobile-phone.md index f20c8ae..f968724 100644 --- a/src/content/posts/2025/11/a-microcontroller-will-not-become-a-mobile-phone.md +++ b/src/content/posts/2025/11/a-microcontroller-will-not-become-a-mobile-phone.md @@ -9,6 +9,7 @@ tags: - "小米" - "手表" comments: true +webmention: true --- 上周日返校途中,我在 AstroBox 上面刷着软件库,恰巧刷到了一位大佬编写的 Vela 第三方网易云音乐客户端。这是 Vela 圈出现的第三个自制客户端了。我使用的上一款客户端 [OMusic](https://www.bandbbs.cn/resources/4324/updates) 十分完美,但用久了之后,想尝试一些新的界面和功能。所以我便抱着试一试的态度下载了这个软件。 diff --git a/src/content/posts/2025/11/blog-self-reflection.md b/src/content/posts/2025/11/blog-self-reflection.md index c30af41..98cba38 100644 --- a/src/content/posts/2025/11/blog-self-reflection.md +++ b/src/content/posts/2025/11/blog-self-reflection.md @@ -8,6 +8,7 @@ tags: - "建站" - "问卷" comments: true +webmention: true --- 今天逛各大博客收录平台的时候,无意看到一位博友回答了一份问卷——《[独立博客自省问卷 15 题](https://yayu.net/4626.html)》。点进问卷链接,读了一遍问卷内容,发现这些问题都直戳内心,部分问题让我汗颜无地。 diff --git a/src/content/posts/2025/11/how-to-compile-twikoo-by-yourself.md b/src/content/posts/2025/11/how-to-compile-twikoo-by-yourself.md index 37bac78..4389edf 100644 --- a/src/content/posts/2025/11/how-to-compile-twikoo-by-yourself.md +++ b/src/content/posts/2025/11/how-to-compile-twikoo-by-yourself.md @@ -7,6 +7,7 @@ categories: tags: - "开发" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/11/november-blog-update.md b/src/content/posts/2025/11/november-blog-update.md index f784e52..c02798e 100644 --- a/src/content/posts/2025/11/november-blog-update.md +++ b/src/content/posts/2025/11/november-blog-update.md @@ -7,6 +7,7 @@ categories: tags: - "公告" comments: true +webmention: true --- 最近天气越来越冷了,我看着蓝色的头像和博客配色,总觉得不应季了。 diff --git a/src/content/posts/2025/11/open-source-sorts-of-software.md b/src/content/posts/2025/11/open-source-sorts-of-software.md index 823428d..3c14f81 100644 --- a/src/content/posts/2025/11/open-source-sorts-of-software.md +++ b/src/content/posts/2025/11/open-source-sorts-of-software.md @@ -9,6 +9,7 @@ tags: - "开源" - "软件" comments: true +webmention: true --- ## 前言 diff --git a/src/content/posts/2025/11/tic-watch-pro-3.md b/src/content/posts/2025/11/tic-watch-pro-3.md index 02a4e54..1f1871f 100644 --- a/src/content/posts/2025/11/tic-watch-pro-3.md +++ b/src/content/posts/2025/11/tic-watch-pro-3.md @@ -8,6 +8,7 @@ tags: - "TicWatch" - "手表" comments: true +webmention: true --- 上周,我在闲鱼上斥巨资 ¥190 淘到了一台 TicWatch Pro3,因为我需要一块能够满足我在校通讯需求的手表。 diff --git a/src/content/posts/2025/12/2025-summary.md b/src/content/posts/2025/12/2025-summary.md index ddf3123..995fe5a 100644 --- a/src/content/posts/2025/12/2025-summary.md +++ b/src/content/posts/2025/12/2025-summary.md @@ -7,6 +7,7 @@ categories: tags: - "年度总结" comments: true +webmention: true --- 写完之后回来看看,忽然发现这篇文章没什么意义,只是把 2025 年发过的文章理了一遍。 diff --git a/src/content/posts/2025/12/no-8-high-school-pc-system-reinstall-tips.md b/src/content/posts/2025/12/no-8-high-school-pc-system-reinstall-tips.md index 5e577a3..aa56b4a 100644 --- a/src/content/posts/2025/12/no-8-high-school-pc-system-reinstall-tips.md +++ b/src/content/posts/2025/12/no-8-high-school-pc-system-reinstall-tips.md @@ -8,6 +8,7 @@ tags: - "一体机" - "重装系统" comments: true +webmention: true --- 上周,我给我班一体机重装了 Windows11 企业版 LTSC,原想着会像我给初中时的一体机重装一样简单,但我还是防不胜防——踩雷了。 diff --git a/src/content/posts/2025/12/redmi-watch-5-os3.md b/src/content/posts/2025/12/redmi-watch-5-os3.md index 4272a43..1674490 100644 --- a/src/content/posts/2025/12/redmi-watch-5-os3.md +++ b/src/content/posts/2025/12/redmi-watch-5-os3.md @@ -8,6 +8,7 @@ tags: - "REDMI Watch 5" - "手表" comments: true +webmention: true --- ## 写在前面 diff --git a/src/content/posts/2026/01/new-project-random.md b/src/content/posts/2026/01/new-project-random.md index f5c9229..441653c 100644 --- a/src/content/posts/2026/01/new-project-random.md +++ b/src/content/posts/2026/01/new-project-random.md @@ -8,6 +8,7 @@ tags: - "网页" - "设计" comments: true +webmention: true --- 我们班有一个传统——每周班会课上,老师会允许量化积分排名前五的同学随机抽取一项奖励。 diff --git a/src/content/posts/2026/01/redmi-watch-5-quickapp-limit-crack.md b/src/content/posts/2026/01/redmi-watch-5-quickapp-limit-crack.md index e3bab21..7c8c499 100644 --- a/src/content/posts/2026/01/redmi-watch-5-quickapp-limit-crack.md +++ b/src/content/posts/2026/01/redmi-watch-5-quickapp-limit-crack.md @@ -9,6 +9,7 @@ tags: - "科技" - "红米手表" comments: true +webmention: true --- diff --git a/src/content/posts/2026/02/feb-update.md b/src/content/posts/2026/02/feb-update.md index ac0f49a..8e1c9c0 100644 --- a/src/content/posts/2026/02/feb-update.md +++ b/src/content/posts/2026/02/feb-update.md @@ -9,6 +9,7 @@ tags: - "科技" - "网站" comments: true +webmention: true --- 朋友们,凌晨好。这里是熬夜优化网站的 RiseForever。 diff --git a/src/content/posts/2026/02/i-dont-need-a-truly-smart-watch.md b/src/content/posts/2026/02/i-dont-need-a-truly-smart-watch.md index 3fdd350..ace2238 100644 --- a/src/content/posts/2026/02/i-dont-need-a-truly-smart-watch.md +++ b/src/content/posts/2026/02/i-dont-need-a-truly-smart-watch.md @@ -11,6 +11,7 @@ tags: - "中国联通" - "手表" comments: true +webmention: true --- diff --git a/src/content/posts/2026/02/redmi-watch-5-esim-quickapp-limit-crack-continue.md b/src/content/posts/2026/02/redmi-watch-5-esim-quickapp-limit-crack-continue.md index 74cbb7f..93ef462 100644 --- a/src/content/posts/2026/02/redmi-watch-5-esim-quickapp-limit-crack-continue.md +++ b/src/content/posts/2026/02/redmi-watch-5-esim-quickapp-limit-crack-continue.md @@ -9,6 +9,7 @@ tags: - "科技" - "红米手表" comments: true +webmention: true --- diff --git a/src/content/posts/2026/02/the-last-about-o65m.md b/src/content/posts/2026/02/the-last-about-o65m.md index ba86617..45e3edf 100644 --- a/src/content/posts/2026/02/the-last-about-o65m.md +++ b/src/content/posts/2026/02/the-last-about-o65m.md @@ -9,6 +9,7 @@ tags: - "科技" - "红米手表" comments: true +webmention: true --- > **【重要提示】** 本文提供的工具仅适用于 REDMI Watch 5 eSIM 版,请勿在蓝牙版或其它型号上尝试。刷机修改存在风险,请仔细阅读免责声明。 diff --git a/src/content/posts/2026/05/during-the-time-i-stopped-blogging.md b/src/content/posts/2026/05/during-the-time-i-stopped-blogging.md index a7733f9..605d1e5 100644 --- a/src/content/posts/2026/05/during-the-time-i-stopped-blogging.md +++ b/src/content/posts/2026/05/during-the-time-i-stopped-blogging.md @@ -8,6 +8,7 @@ categories: tags: - "生活" comments: true +webmention: true --- 我最后一次认真写博客,是在 2 月 28 日。整整两个半月,我一篇文章都没更新。这篇文章,我想和你分享一下我这两个月的经历。 diff --git a/src/content/posts/2026/05/use-ai-to-convert-from-other-blog-system.md b/src/content/posts/2026/05/use-ai-to-convert-from-other-blog-system.md index 2b8464f..9d0a167 100644 --- a/src/content/posts/2026/05/use-ai-to-convert-from-other-blog-system.md +++ b/src/content/posts/2026/05/use-ai-to-convert-from-other-blog-system.md @@ -10,6 +10,7 @@ tags: - "Astro" - "Typecho" comments: true +webmention: true --- diff --git a/src/content/posts/2026/07/104.md b/src/content/posts/2026/07/104.md index 07bd85b..ec2ffee 100644 --- a/src/content/posts/2026/07/104.md +++ b/src/content/posts/2026/07/104.md @@ -6,6 +6,7 @@ categories: - "生活" tags: comments: true +webmention: true --- > ⚠ 全体负能量警告,如果介意,请退出本页面。 diff --git a/src/content/posts/2026/07/108.md b/src/content/posts/2026/07/108.md index 676af3d..ae7d3d4 100644 --- a/src/content/posts/2026/07/108.md +++ b/src/content/posts/2026/07/108.md @@ -8,6 +8,7 @@ categories: tags: - "服务器" comments: true +webmention: true --- > 本文没有贬低原服务商的意思,一分价钱一分货,购买一些价格低到离谱的活动机时,就应该做好服务不稳定的心理准备。服务商不是慈善家,能够推出低价机器已是非常难能可贵。该服务商其余分区的正规套餐仍是可购买、可靠的。 diff --git a/src/content/posts/2026/07/explanation-regarding-abnormal-email-sending.md b/src/content/posts/2026/07/explanation-regarding-abnormal-email-sending.md index 2ff6f0c..e03f72c 100644 --- a/src/content/posts/2026/07/explanation-regarding-abnormal-email-sending.md +++ b/src/content/posts/2026/07/explanation-regarding-abnormal-email-sending.md @@ -7,6 +7,7 @@ categories: - "公告" tags: comments: true +webmention: true --- 昨日(7 月 20 日)本人在迁移站点时,使用了错误的迁移方法,导致在昨晚 22:35 左右对外发送了 400 余封邮件,主题均为评论回复提醒 / 评论通过审核提醒。 diff --git a/src/content/posts/2026/07/july.md b/src/content/posts/2026/07/july.md index f26bb2f..796f3a3 100644 --- a/src/content/posts/2026/07/july.md +++ b/src/content/posts/2026/07/july.md @@ -7,6 +7,7 @@ categories: - "生活" tags: comments: true +webmention: true --- 暑假已过半。七月,虽谈不上充实,但也不算虚度。 diff --git a/src/content/posts/2026/07/june.md b/src/content/posts/2026/07/june.md index 79b696b..31a241b 100644 --- a/src/content/posts/2026/07/june.md +++ b/src/content/posts/2026/07/june.md @@ -9,6 +9,7 @@ tags: - "考试" - "搞机" comments: true +webmention: true --- diff --git a/src/content/posts/2026/07/new-laptop.md b/src/content/posts/2026/07/new-laptop.md index 11885df..6654e59 100644 --- a/src/content/posts/2026/07/new-laptop.md +++ b/src/content/posts/2026/07/new-laptop.md @@ -7,6 +7,7 @@ categories: tags: comments: true draft: true +webmention: true --- 终于买新电脑了。作为纪念,我想说说我的电脑史。 diff --git a/src/content/posts/2026/08/a-reply-to-a-leter-i-wrote-to-myself-two-years-ago.md b/src/content/posts/2026/08/a-reply-to-a-leter-i-wrote-to-myself-two-years-ago.md index 9a7a03d..5a2da61 100644 --- a/src/content/posts/2026/08/a-reply-to-a-leter-i-wrote-to-myself-two-years-ago.md +++ b/src/content/posts/2026/08/a-reply-to-a-leter-i-wrote-to-myself-two-years-ago.md @@ -5,6 +5,7 @@ categories: ['生活'] tags: ['回信','时光'] draft: false comments: true +webmention: true cover: 'https://image.luming.cool/i/2026/08/25/6a8d6e7ec5f64.webp' --- diff --git a/src/content/posts/2026/08/august.md b/src/content/posts/2026/08/august.md index 26802d7..f19984b 100644 --- a/src/content/posts/2026/08/august.md +++ b/src/content/posts/2026/08/august.md @@ -6,6 +6,7 @@ categories: tags: - 总结 draft: true +webmention: true --- ## 序 diff --git a/src/content/posts/2026/08/back-to-astro.md b/src/content/posts/2026/08/back-to-astro.md index e367c25..70857ca 100644 --- a/src/content/posts/2026/08/back-to-astro.md +++ b/src/content/posts/2026/08/back-to-astro.md @@ -6,6 +6,7 @@ categories: ['生活'] tags: ['博客系统','Astro'] draft: false comments: true +webmention: true --- 这不算正式文章,算一篇碎碎念。 diff --git a/src/content/posts/2026/08/eidolon-short-code-preview.md b/src/content/posts/2026/08/eidolon-short-code-preview.md index 24733c6..6d1593b 100644 --- a/src/content/posts/2026/08/eidolon-short-code-preview.md +++ b/src/content/posts/2026/08/eidolon-short-code-preview.md @@ -5,6 +5,7 @@ categories: ['科技'] tags: ['主题','Astro'] draft: false comments: true +webmention: true --- Eidolon 主题支持短代码。除兼容 [Mirages](https://get233.com/archives/mirages-intro.html) 的全部短代码外,额外增加了“Tools”组件。 diff --git a/src/content/posts/2026/08/interesting-girl.md b/src/content/posts/2026/08/interesting-girl.md index 76a1468..e0739fb 100644 --- a/src/content/posts/2026/08/interesting-girl.md +++ b/src/content/posts/2026/08/interesting-girl.md @@ -6,6 +6,7 @@ categories: ['人物'] tags: ['同学','朋友','青春'] draft: false comments: true +webmention: true --- 暂且称呼她为“雨灯”吧,因为这是她的网名。 diff --git a/src/content/posts/2026/08/mouse-pad-from-blogsclub.md b/src/content/posts/2026/08/mouse-pad-from-blogsclub.md index 1b697d2..ffa2692 100644 --- a/src/content/posts/2026/08/mouse-pad-from-blogsclub.md +++ b/src/content/posts/2026/08/mouse-pad-from-blogsclub.md @@ -6,6 +6,7 @@ categories: ['生活'] tags: ['博客','博客组织'] draft: false comments: true +webmention: true --- 初次加入 BlogsClub,我还不怎么当回事,以为他只是一个普通的博客聚合平台,和“十年之约”、“笔墨迹”性质相同。 diff --git a/src/content/posts/2026/08/new-theme-eidolon.md b/src/content/posts/2026/08/new-theme-eidolon.md index ec0fffb..089b653 100644 --- a/src/content/posts/2026/08/new-theme-eidolon.md +++ b/src/content/posts/2026/08/new-theme-eidolon.md @@ -5,6 +5,7 @@ categories: ['科技'] tags: ['主题'] draft: false comments: true +webmention: true --- Eidolon 是一款轻量、简洁且美观的 Astro 主题。基于 MIT License 开源。 diff --git a/src/content/posts/2026/08/weekly-8-1.md b/src/content/posts/2026/08/weekly-8-1.md index e9b3886..bbc86de 100644 --- a/src/content/posts/2026/08/weekly-8-1.md +++ b/src/content/posts/2026/08/weekly-8-1.md @@ -8,6 +8,7 @@ tags: - 生活 draft: false comments: true +webmention: true --- 好久没有碰过“周记”这种形式了,感觉自己浑浑噩噩的,每天起床、吃午饭、睡觉、吃晚饭,然后再熬夜补补作业,以此循环,半个月刷一下就过去了。我还是重启这个栏目,逼自己记录一下每周的事情吧。 diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 8fbe0cc..cd5b9a9 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -10,8 +10,8 @@ import NavigationProgress from '@/components/NavigationProgress.astro'; import { ClientRouter } from 'astro:transitions'; import '../styles/global.css'; -interface Props { title?: string; description?: string; image?: string; type?: 'website' | 'article'; noindex?: boolean; math?: boolean; navbarOverlay?: boolean; hasMasthead?: boolean; } -const { title, description, image, type, noindex, math, navbarOverlay = false, hasMasthead = Astro.slots.has('masthead') } = Astro.props; +interface Props { title?: string; description?: string; image?: string; type?: 'website' | 'article'; noindex?: boolean; math?: boolean; webmention?: boolean; navbarOverlay?: boolean; hasMasthead?: boolean; } +const { title, description, image, type, noindex, math, webmention = false, navbarOverlay = false, hasMasthead = Astro.slots.has('masthead') } = Astro.props; const appearanceScript = `(function(){var r=document.documentElement,t='mirages-theme',s='mirages-font-scale',f='mirages-font-family',themes=['auto','light','sunset','dark'],fonts=['serif','sans'],stored=Number(localStorage.getItem(s)),scale=stored>=.8&&stored<=1.5?stored*100:stored>=80&&stored<=150?stored:100,theme=localStorage.getItem(t),font=localStorage.getItem(f);scale=Math.round(scale/5)*5;r.dataset.theme=themes.indexOf(theme)>-1?theme:'${siteConfig.appearance.defaultTheme}';r.dataset.font=fonts.indexOf(font)>-1?font:'sans';r.dataset.platform=/Win/.test(navigator.userAgentData?.platform||navigator.platform)?'windows':'other';r.style.fontSize=scale+'%'})();`; const tabsScript = `if(!window.__tabsInit){window.__tabsInit=true;document.addEventListener('click',function(event){var button=event.target.closest('[data-shortcode-tab]');if(!button)return;var group=button.closest('[data-shortcode-tabs]');var id=button.dataset.shortcodeTab;group.querySelectorAll('[data-shortcode-tab=\"'+id+'\"]').forEach(function(tab){var active=tab===button;tab.setAttribute('aria-selected',String(active));tab.tabIndex=active?0:-1;var panel=group.querySelector('#'+tab.getAttribute('aria-controls'));if(panel)panel.hidden=!active;});});}`; const collapseScript = `function initCollapse(){document.querySelectorAll('.shortcode-collapse').forEach(function(details){details.dataset.collapseReady='';details.classList.toggle('is-expanded',details.open);var body=details.querySelector(':scope>.shortcode-body');if(body instanceof HTMLElement&&details.open)body.style.height='auto';});}initCollapse();document.addEventListener('astro:page-load',initCollapse);document.addEventListener('click',function(event){var summary=event.target.closest('.shortcode-collapse>summary');if(!summary)return;var details=summary.parentElement;if(!(details instanceof HTMLDetailsElement))return;event.preventDefault();var body=details.querySelector(':scope>.shortcode-body');if(!(body instanceof HTMLElement))return;var expand=!details.classList.contains('is-expanded');details.classList.toggle('is-expanded',expand);if(matchMedia('(prefers-reduced-motion: reduce)').matches){details.open=expand;body.style.height=expand?'auto':'';delete details.dataset.animating;return;}var height=body.getBoundingClientRect().height;details.open=true;body.style.height=height+'px';void body.offsetHeight;details.dataset.animating='true';body.style.height=(expand?body.scrollHeight:0)+'px';});document.addEventListener('transitionend',function(event){var body=event.target;if(!(body instanceof HTMLElement)||!body.classList.contains('shortcode-body')||event.propertyName!=='height')return;var details=body.parentElement;if(!(details instanceof HTMLDetailsElement))return;var expanded=details.classList.contains('is-expanded');details.open=expanded;body.style.height=expanded?'auto':'';delete details.dataset.animating;});`; @@ -28,7 +28,7 @@ const { title, description, image, type, noindex, math, navbarOverlay = false, h {siteConfig.comments.provider === 'twikoo' && } - + {siteConfig.pjax.enabled && } {math && } diff --git a/src/pages/posts/[...slug].astro b/src/pages/posts/[...slug].astro index d73a567..461bd29 100644 --- a/src/pages/posts/[...slug].astro +++ b/src/pages/posts/[...slug].astro @@ -29,7 +29,7 @@ const date = { }; const dateText = `${date.year} 年 ${date.month} 月 ${date.day} 日`; --- - +