kubernetes/website

Set text direction based on localization text direction

Open

#46.100 aperta il 1 mag 2024

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)HTML (13.918 fork)batch import
area/localizationhelp wantedkind/featurepriority/backlogtriage/accepted

Metriche repository

Star
 (4127 star)
Metriche merge PR
 (Merge medio 16g 13h) (160 PR mergiate in 30 g)

Descrizione

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.

Guida contributor