commit 40881a89629892ece0117f94eaa7ef71a3384a0d Author: emma peel emma.peel@riseup.net Date: Tue Oct 29 13:25:15 2019 +0100
add lang tag to html declaration to be better indexed for each language --- templates/meta.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/meta.html b/templates/meta.html index 17c7e0b..478f22d 100644 --- a/templates/meta.html +++ b/templates/meta.html @@ -1,5 +1,5 @@ <!doctype html> -<html xmlns="http://www.w3.org/1999/xhtml" {% if bag('alternatives', this.alt, 'direction') == 'text-right' %}dir="rtl"{% endif %}> +<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ this.alt }}" {% if bag('alternatives', this.alt, 'direction') == 'text-right' %}dir="rtl" {% endif %}> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="{{ _('Defend yourself against tracking and surveillance. Circumvent censorship.') }} | {{ this.title }}">
tor-commits@lists.torproject.org