Expand description
标签详情 /tags/:tag:与归档同一套版式,只列出该标签下的文章。
文章取自 get_posts_by_tag(最近 200 篇);每个标签拥有独立的请求。
Structs§
- TagBody
Props 🔒 - Props for the
TagBodycomponent. - TagIntro
Props - Props for the
TagIntrocomponent. - TagRoute
- 标签详情路由,对应
/tags/:tag(SsrMode::Async:<Title>随标签而定, 且需要在流式输出前确定响应头)。
Functions§
- TagBody 🔒
- 标签详情主体。
initial为None表示文章加载失败;重试结果写进本地信号, 不重取外层Resource(否则整段 DOM 会退回Suspense的骨架屏)。 - TagIntro
- 路由兜底和实际页面共用开场;标签名无需等待文章请求。
- __
TagRoute_ 🔒View - fetch_
tag_ 🔒posts - tag_row 🔒
- tag_
summary 🔒 - 「16 篇文章,最近一篇写于 2026.10.15。」