From 64aaff0b091cb799c15a086d3e4c82661f6847d2 Mon Sep 17 00:00:00 2001 From: erciccione <erciccione@protonmail.com> Date: Fri, 11 Sep 2020 17:51:13 +0200 Subject: [PATCH] Add 'lang' attribute to the <html> element to declare language of the page --- _layouts/base.html | 2 +- _layouts/error.html | 2 +- _layouts/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_layouts/base.html b/_layouts/base.html index da72e2fb..11397c04 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html> +<html lang={{ site.lang }}> {% include head.html %} diff --git a/_layouts/error.html b/_layouts/error.html index f862d8c4..6c34cab6 100644 --- a/_layouts/error.html +++ b/_layouts/error.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html> +<html lang={{ site.lang }}> {% include head.html %} diff --git a/_layouts/index.html b/_layouts/index.html index 961e4822..b4e58a0e 100644 --- a/_layouts/index.html +++ b/_layouts/index.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html> +<html lang={{ site.lang }}> {% include head.html %}