Skip to content

feat: 首页补站点名,让搜索结果显示「悠一 Yui」 - #86

Merged
cnYui merged 1 commit into
mainfrom
claude/home-site-name
Oct 29, 2026
Merged

cnYui merged 1 commit into
mainfrom
claude/home-site-name

Conversation

@cnYui

@cnYui cnYui commented Oct 29, 2026

Copy link
Copy Markdown
Owner

做了什么

  • Google 搜索结果还显示线索墙时代的旧标题「Yui · 悠一 | Clue Wall」(旧索引,页面标题早已是「悠一 Yui」),收录地址还是 http://www.aaccx.pw。
  • 首页 <head> 补上 canonical(https://aaccx.pw/)、Open Graph(站点名、标题、描述、URL)和 WebSite 结构化数据(name「悠一 Yui」,alternateName「悠一」「Yui」)。结构化数据是 application/ld+json,不执行,CSP 不拦。
  • test/home.test.js 校验这些标签,脚本计数排除 ld+json。

验证

  • npm test:129/129 通过。

🤖 Generated with Claude Code

Google 还在用线索墙时代的旧标题「Yui · 悠一 | Clue Wall」。首页补上
canonical(https://aaccx.pw/,www 和 http 都指过来)、Open Graph 和
WebSite 结构化数据(application/ld+json,不执行,CSP 不拦)。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cnYui
cnYui merged commit 1446c53 into main Oct 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant