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.

貢獻者指南