diff options
author | Liberal dev <56965274+liberaldev@users.noreply.github.com> | 2024-02-09 05:04:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-08 12:04:36 -0800 |
commit | de705606d0e90c35e25b9e62ef7da63d9bb3bf9a (patch) | |
tree | e7da37e8d8f5c06d9fa0eb7c962b040dd338c2c6 | |
parent | 8b239c83475fc959c2a17b538cc18347e025492c (diff) | |
download | voidsky-de705606d0e90c35e25b9e62ef7da63d9bb3bf9a.tar.zst |
fix google translate appear (#2784)
-rw-r--r-- | bskyweb/templates/base.html | 8 | ||||
-rw-r--r-- | web/index.html | 9 |
2 files changed, 8 insertions, 9 deletions
diff --git a/bskyweb/templates/base.html b/bskyweb/templates/base.html index e2f563c36..b7913c3ad 100644 --- a/bskyweb/templates/base.html +++ b/bskyweb/templates/base.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, viewport-fit=cover"> @@ -217,9 +217,9 @@ {%- block body_all %} <div id="root"></div> <noscript> - <h1>JavaScript Required</h1> - <p>This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is. - <p>Learn more about Bluesky at <a href="https://blueskyweb.xyz">blueskyweb.xyz</a> and <a href="https://atproto.com">atproto.com</a>. + <h1 lang="en">JavaScript Required</h1> + <p lang="en">This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is. + <p lang="en">Learn more about Bluesky at <a href="https://blueskyweb.xyz">blueskyweb.xyz</a> and <a href="https://atproto.com">atproto.com</a>. {% block noscript_extra %}{% endblock %} </noscript> {% endblock -%} diff --git a/web/index.html b/web/index.html index e6deb4ca4..e00b13cd6 100644 --- a/web/index.html +++ b/web/index.html @@ -1,8 +1,7 @@ <!DOCTYPE html> -<html lang="%LANG_ISO_CODE%"> +<html> <head> - <meta charset="utf-8" /> - <meta httpEquiv="X-UA-Compatible" content="IE=edge" /> + <meta charset="utf-8"> <!-- This viewport works for phones with notches. It's optimized for gestures by disabling global zoom. @@ -234,8 +233,8 @@ width: 80%; " > - <p>Oh no! It looks like JavaScript is not enabled in your browser.</p> - <p style="margin: 20px 0;"> + <p lang="en">Oh no! It looks like JavaScript is not enabled in your browser.</p> + <p lang="en" style="margin: 20px 0;"> <button type="submit" style=" |