diff --git a/README.md b/README.md index d883591..d6b2032 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,7 @@ YMB 公开站点响应式首页原型,参考 YouTube 的内容发现信息架 - 桌面端:顶部搜索、侧边导航、推荐网格、Shorts 横滑区、频道订阅。 - 移动端:顶部紧凑栏、双列内容、横滑 Shorts、底部导航。 - 原生 JS:搜索、题材筛选、播放提示、关注切换。 +- 多语言:印尼语 `?lang=id`、English `?lang=en`、简体中文 `?lang=zh`。 +- SEO:动态 `lang/title/description`、canonical、hreflang、Open Graph、Twitter Card、JSON-LD、robots.txt、sitemap.xml。 + +部署前请将 `ymb.example.com` 替换为正式域名,并同步修改 `index.html`、`app.js`、`robots.txt` 与 `sitemap.xml`。 diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..f46718b --- /dev/null +++ b/robots.txt @@ -0,0 +1,4 @@ +# Author: fruit.com.cn +User-agent: * +Allow: / +Sitemap: https://ymb.example.com/sitemap.xml diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..99991a7 --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,7 @@ + + + + https://ymb.example.com/?lang=iddaily1.0 + https://ymb.example.com/?lang=endaily0.9 + https://ymb.example.com/?lang=zhdaily0.9 +