feat(site): 补齐 SEO(robots/sitemap/canonical/hreflang/og)#76
Merged
Conversation
之前站点缺 SEO 基建,搜索引擎难发现/收录。本次补齐: - robots.txt(allow all + Sitemap 指向) - sitemap.xml(42 个页面:中/英首页 + 20 skill × 2 语言,带 lastmod/priority) - 每页 <link canonical>(clean URL) - hreflang 中英互链 + x-default(双语站正确归类) - og:url / og:image / twitter:card 验证:重建 42 页;robots/sitemap 生成;详情页 SEO 标签齐全;CSP 126 内联脚本 0 缺失,不受影响。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
补齐站点 SEO 基建:robots.txt + sitemap.xml(42页) + canonical + hreflang 中英互链 + og:url/twitter card。