kubernetes/website

Set text direction based on localization text direction

Open

#46,100 创建于 2024年5月1日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)HTML (13,918 fork)batch import
area/localizationhelp wantedkind/featurepriority/backlogtriage/accepted

仓库指标

Star
 (4,127 star)
PR 合并指标
 (平均合并 16天 13小时) (30 天内合并 160 个 PR)

描述

This is a Feature Request

What would you like to be added Edit the Hugo layout template(s) for the site to set dir on the html element, so that browsers know what text direction is in use.

Why is this needed This change would support or enable https://github.com/kubernetes/website/issues/22730 and https://github.com/kubernetes/website/pull/46042

Comments /area localization /kind feature /help /triage accepted

You should work on this if you have the capacity to and you already understand a little about Hugo templating. The change may not be suitable for a contributor who is new to working with Hugo and Hugo themes.

贡献者指南