From e58bdad6d89dc30f83cc5f0264de4a16dc45c19c Mon Sep 17 00:00:00 2001 From: Tony Tang Date: Wed, 22 Apr 2026 22:31:58 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=87=E4=BA=8B?= =?UTF-8?q?=E5=B1=8B=E5=B7=A5=E7=A8=8B=E9=83=A8=E7=9A=84=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e96ac08..31c743e 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ English | [简体中文](./README.zh-cn.md) - [Appinn Talk](https://talk.appinn.net/) - [小报童优惠与排行榜](https://youhui.xiaobaoto.com/) - [热干面拌 10 号土豆泥](https://memo.moran.im/) +- [万事屋工程部](https://t.wanshiwu.fyi/) ### Platform From 7d79eba75641387ceb42b993324d5fb877cde74c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=A2=E6=9D=A1?= Date: Mon, 27 Apr 2026 19:34:13 +0800 Subject: [PATCH 2/2] refactor: update tag search URLs to use query parameters --- README.zh-cn.md | 2 +- src/components/item.astro | 5 +++-- src/lib/telegram/index.ts | 2 +- src/middleware.ts | 28 ++++++++++++++++++++++++---- src/pages/tags.astro | 12 ++++++++---- 5 files changed, 37 insertions(+), 12 deletions(-) diff --git a/README.zh-cn.md b/README.zh-cn.md index 387007e..cc3f61c 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -48,7 +48,7 @@ - [Abner's memos](https://memos.abnerz6.top/) - [小众软件的发现](https://talk.appinn.net/) - [小报童优惠与排行榜](https://youhui.xiaobaoto.com/) -- [热干面拌 10 号土豆泥](https://memo.moran.im/) +- [热干面拌 10 号土豆泥](https://memo.moran.im/) ### 平台 diff --git a/src/components/item.astro b/src/components/item.astro index d09f30f..4144045 100644 --- a/src/components/item.astro +++ b/src/components/item.astro @@ -39,6 +39,7 @@ const tagStandaloneClass = 'pt-[30px]' const tagLinkClass = 'inline-block rounded-[4px] border border-line px-[10px] py-[2px] text-muted no-underline hover:border-accent hover:text-accent hover:no-underline' const commentsClass = 'ml-[3px] border-l-2 border-line pb-6 pl-[15px] pt-[6px] sm:pl-[30px]' +const getTagHref = (tag: string) => `/search/result?q=${encodeURIComponent(`#${tag}`)}` ---
@@ -84,8 +85,8 @@ const commentsClass = 'ml-[3px] border-l-2 border-line pb-6 pl-[15px] pt-[6px] s hasTags && (