Conversation
- 创建了robots.ts - 扩展了根layout.tsx :添加了keywords、viewport、themeColor等SEO相关meta标签 - 添加了Open Graph元数据 :支持社交媒体分享,包括标题、描述、图片等 - 添加了Twitter Card元数据 :优化Twitter分享效果 - 添加了Schema.org标记 - 首页:基于语言环境动态生成标题和描述 - 搜索页面:基于搜索参数动态生成标题和描述 - 博客页面:基于内容动态生成标题和描述
添加generateImageAlt函数生成更详细的图片描述文本 将viewport和themeColor从metadata移至独立配置
添加设备检测工具函数和中间件逻辑,支持自动重定向移动设备到专属页面 创建移动端搜索页面示例,优化移动端用户体验
Signed-off-by: cliffchen <t-cliffchen+github@microsoft.com>
…ersion Signed-off-by: cliffchen <t-cliffchen+github@microsoft.com>
This reverts commit 3847bb9.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Upload the Baidu SEO inclusion verification file and complete the files required for website SEO. This will change some pages from client page to server page.