Skip to content

Commit a0dc7bf

Browse files
authored
Create index.html
1 parent 5d2da36 commit a0dc7bf

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

  • support/which-kind-of-key-should-i-input
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<html>
2+
<head lang="en">
3+
<meta charset='UTF-8'>
4+
<meta name='viewport' content='width=device-width initial-scale=1'>
5+
<title></title>
6+
</head>
7+
<body>
8+
<script>
9+
var lang = navigator.language || navigator.userLanguage;
10+
if(lang.substr(0, 2) == "en")
11+
location = "./en.html";
12+
else if(lang.substr(0, 2) == "zh")
13+
location = "./zh-cn.html";
14+
</script>
15+
<p>Loading article...</p>
16+
</body>
17+
</html>

0 commit comments

Comments
 (0)