本地化、RTL 与 SEO
ContentRouter 与 ContentArchiveRouter 拥有公共 URL。只渲染一次 canonical、alternates、robots 与社交数据。明确翻译界面和内容。采用逻辑 CSS 属性,并在 RTL 中隔离从左到右的代码。
本地化、RTL 与 SEO
ContentRouter 与 ContentArchiveRouter 拥有公共 URL。只渲染一次 canonical、alternates、robots 与社交数据。明确翻译界面和内容。采用逻辑 CSS 属性,并在 RTL 中隔离从左到右的代码。
应用示例
pre { direction: ltr; unicode-bidi: isolate; overflow: auto; }
.card { padding-inline: 1rem; min-width: 0; overflow-wrap: anywhere; }