qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Thomas Huth
Subject: Re: [qemu-web PATCH] add language to <html> tag
Date: Tue, 14 Feb 2023 13:30:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

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>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]