mirror of
https://github.com/sipeed/sipeed_wiki.git
synced 2026-09-11 00:22:49 -05:00
Add short link m4nhat to hardware/zh/maixIV/m4nhat/intro.html
This commit is contained in:
17
pages/index/zh/m4nhat.html
Normal file
17
pages/index/zh/m4nhat.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<script>
|
||||
var hash = window.location.hash
|
||||
var url_language = "zh"
|
||||
|
||||
if( navigator.language.indexOf("zh") == -1 )
|
||||
{
|
||||
url_language = "en"
|
||||
}
|
||||
|
||||
switch (window.location.hash) {
|
||||
case "#c8" :
|
||||
location.href = window.location.origin + "/hardware/" + url_language + "/maixIV/m4nhat/intro.html"
|
||||
break;
|
||||
default :
|
||||
location.href = window.location.origin + "/hardware/" + url_language + "/maixIV/m4nhat/intro.html"
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user