This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/main by this push:
     new bf43360548 Fix meta charset tag to properly set utf-8 encoding (#1119)
bf43360548 is described below

commit bf43360548724432a83370bf6505edb22a5927fd
Author: Woosuk Kwon (Willie) <[email protected]>
AuthorDate: Wed Jan 29 00:54:09 2025 +0900

    Fix meta charset tag to properly set utf-8 encoding (#1119)
---
 landing-pages/site/config.toml                | 1 +
 landing-pages/site/layouts/partials/head.html | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/landing-pages/site/config.toml b/landing-pages/site/config.toml
index 8a1c6bd27a..7080e93cb4 100644
--- a/landing-pages/site/config.toml
+++ b/landing-pages/site/config.toml
@@ -66,6 +66,7 @@ weight = 1
 # Everything below this are Site Params
 
 [params]
+charset = "utf-8"
 copyright = "The Apache Software Foundation"
 privacy_policy = "https://policies.google.com/privacy";
 blocktype = ["use-case", "testimonial"]
diff --git a/landing-pages/site/layouts/partials/head.html 
b/landing-pages/site/layouts/partials/head.html
index 10482cff20..3b5fefbd9b 100644
--- a/landing-pages/site/layouts/partials/head.html
+++ b/landing-pages/site/layouts/partials/head.html
@@ -17,7 +17,7 @@
  under the License.
 */}}
 
-meta charset="utf-8">
+<meta charset="{{ .Site.Params.charset }}">
 <meta name="viewport" content="width=device-width, initial-scale=1, 
shrink-to-fit=no">
 {{ hugo.Generator }}
 {{ if eq (getenv "HUGO_ENV") "production" }}

Reply via email to