kubernetes/website

Set text direction based on localization text direction

Open

#46.100 aberto em 1 de mai. de 2024

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)HTML (13.918 forks)batch import
area/localizationhelp wantedkind/featurepriority/backlogtriage/accepted

Métricas do repositório

Stars
 (4.127 stars)
Métricas de merge de PR
 (Mesclagem média 16d 13h) (160 fundiu PRs em 30d)

Description

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.

Guia do colaborador