diff mbox series

[qemu-web] add language to <html> tag

Message ID 20230214122509.30234-1-pbonzini@redhat.com
State New
Headers show
Series [qemu-web] add language to <html> tag | expand

Commit Message

Paolo Bonzini Feb. 14, 2023, 12:25 p.m. UTC
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 _layouts/blog.html          | 2 +-
 _layouts/home.html          | 2 +-
 _layouts/page.html          | 2 +-
 _plugins/alias_generator.rb | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Comments

Thomas Huth Feb. 14, 2023, 12:30 p.m. UTC | #1
On 14/02/2023 13.25, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>   _layouts/blog.html          | 2 +-
>   _layouts/home.html          | 2 +-
>   _layouts/page.html          | 2 +-
>   _plugins/alias_generator.rb | 2 +-
>   4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/_layouts/blog.html b/_layouts/blog.html
> index b7fcdbf..89adb90 100644
> --- a/_layouts/blog.html
> +++ b/_layouts/blog.html
> @@ -5,7 +5,7 @@ templated.co @templatedco
>   Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
>     -->
>   {% include relative_root.html %}
> -<html>
> +<html lang="en">
>   <head>
>   	<title>{{ page.title }} - {{ site.title }}</title>
>   	{% include assets.html %}
> diff --git a/_layouts/home.html b/_layouts/home.html
> index f7b6931..b34e6f6 100644
> --- a/_layouts/home.html
> +++ b/_layouts/home.html
> @@ -5,7 +5,7 @@ templated.co @templatedco
>   Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
>   -->
>   {% include relative_root.html %}
> -<html>
> +<html lang="en">
>   <head>
>   	<title>{{ site.title }}</title>
>   	{% include assets.html %}
> diff --git a/_layouts/page.html b/_layouts/page.html
> index 765d204..c0d2778 100644
> --- a/_layouts/page.html
> +++ b/_layouts/page.html
> @@ -5,7 +5,7 @@ templated.co @templatedco
>   Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
>   -->
>   {% include relative_root.html %}
> -<html>
> +<html lang="en">
>   <head>
>   	<title>{{ page.title }} - {{ site.title }}</title>
>   	{% include assets.html %}
> diff --git a/_plugins/alias_generator.rb b/_plugins/alias_generator.rb
> index b4b86ec..f69d90e 100644
> --- a/_plugins/alias_generator.rb
> +++ b/_plugins/alias_generator.rb
> @@ -80,7 +80,7 @@ module Jekyll
>       def alias_template(destination_path)
>         <<-EOF
>         <!DOCTYPE html>
> -      <html>
> +      <html lang="en">
>         <head>
>         <link rel="canonical" href="#{destination_path}"/>
>         <meta http-equiv="content-type" content="text/html; charset=utf-8" />

Reviewed-by: Thomas Huth <thuth@redhat.com>
diff mbox series

Patch

diff --git a/_layouts/blog.html b/_layouts/blog.html
index b7fcdbf..89adb90 100644
--- a/_layouts/blog.html
+++ b/_layouts/blog.html
@@ -5,7 +5,7 @@  templated.co @templatedco
 Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
   -->
 {% include relative_root.html %}
-<html>
+<html lang="en">
 <head>
 	<title>{{ page.title }} - {{ site.title }}</title>
 	{% include assets.html %}
diff --git a/_layouts/home.html b/_layouts/home.html
index f7b6931..b34e6f6 100644
--- a/_layouts/home.html
+++ b/_layouts/home.html
@@ -5,7 +5,7 @@  templated.co @templatedco
 Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
 -->
 {% include relative_root.html %}
-<html>
+<html lang="en">
 <head>
 	<title>{{ site.title }}</title>
 	{% include assets.html %}
diff --git a/_layouts/page.html b/_layouts/page.html
index 765d204..c0d2778 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -5,7 +5,7 @@  templated.co @templatedco
 Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
 -->
 {% include relative_root.html %}
-<html>
+<html lang="en">
 <head>
 	<title>{{ page.title }} - {{ site.title }}</title>
 	{% include assets.html %}
diff --git a/_plugins/alias_generator.rb b/_plugins/alias_generator.rb
index b4b86ec..f69d90e 100644
--- a/_plugins/alias_generator.rb
+++ b/_plugins/alias_generator.rb
@@ -80,7 +80,7 @@  module Jekyll
     def alias_template(destination_path)
       <<-EOF
       <!DOCTYPE html>
-      <html>
+      <html lang="en">
       <head>
       <link rel="canonical" href="#{destination_path}"/>
       <meta http-equiv="content-type" content="text/html; charset=utf-8" />