* [qemu-web PATCH] add language to <html> tag
@ 2023-02-14 12:25 Paolo Bonzini
2023-02-14 12:30 ` Thomas Huth
0 siblings, 1 reply; 2+ messages in thread
From: Paolo Bonzini @ 2023-02-14 12:25 UTC (permalink / raw)
To: qemu-devel; +Cc: thuth
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" />
--
2.39.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [qemu-web PATCH] add language to <html> tag
2023-02-14 12:25 [qemu-web PATCH] add language to <html> tag Paolo Bonzini
@ 2023-02-14 12:30 ` Thomas Huth
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Huth @ 2023-02-14 12:30 UTC (permalink / raw)
To: Paolo Bonzini, qemu-devel
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-14 12:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-14 12:25 [qemu-web PATCH] add language to <html> tag Paolo Bonzini
2023-02-14 12:30 ` Thomas Huth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).