mirror of
https://github.com/sipeed/sipeed_wiki.git
synced 2026-09-11 00:22:49 -05:00
doc: Add short URL for tangconsole
This commit is contained in:
16
pages/index/en/tangconsole.html
Normal file
16
pages/index/en/tangconsole.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<script>
|
||||
var hash = window.location.hash
|
||||
if (hash.indexOf("start")!= -1){
|
||||
location.href = window.location.origin + "/hardware/en/tang/tang-console/mega-console.html"
|
||||
}
|
||||
else
|
||||
{ if( navigator.language.indexOf("en") == 0 )
|
||||
{
|
||||
location.href = window.location.origin + "/hardware/en/tang/tang-console/mega-console.html"
|
||||
}
|
||||
else
|
||||
{
|
||||
location.href = window.location.origin + "/hardware/zh/tang/tang-console/mega-console.html"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
16
pages/index/zh/tangconsole.html
Normal file
16
pages/index/zh/tangconsole.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<script>
|
||||
var hash = window.location.hash
|
||||
if (hash.indexOf("start")!= -1){
|
||||
location.href = window.location.origin + "/hardware/zh/tang/tang-console/mega-console.html"
|
||||
}
|
||||
else
|
||||
{ if( navigator.language.indexOf("zh") == 0 )
|
||||
{
|
||||
location.href = window.location.origin + "/hardware/zh/tang/tang-console/mega-console.html"
|
||||
}
|
||||
else
|
||||
{
|
||||
location.href = window.location.origin + "/hardware/en/tang/tang-console/mega-console.html"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user