Skip to content

Commit

Permalink
Fix meta charset tag to properly set utf-8 encoding (#1119)
Browse files Browse the repository at this point in the history
  • Loading branch information
egg528 authored Jan 28, 2025
1 parent 4bf3207 commit bf43360
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions landing-pages/site/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion landing-pages/site/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -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" }}
Expand Down

0 comments on commit bf43360

Please sign in to comment.