Skip to content

Commit

Permalink
1. add lpi3a short link
Browse files Browse the repository at this point in the history
  • Loading branch information
Wu Caize committed Aug 19, 2024
1 parent 368b512 commit 9016547
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pages/index/en/licheepi3a.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<script>
var hash = window.location.hash
var url_language = "en"

if( navigator.language.indexOf("en") == -1 )
{
url_language = "zh"
}

switch (window.location.hash) {
default :
location.href = window.location.origin + "/hardware/" + url_language + "/lichee/K1/lpi3a/1_intro.html"
}
</script>
14 changes: 14 additions & 0 deletions pages/index/zh/licheepi3a.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<script>
var hash = window.location.hash
var url_language = "zh"

if( navigator.language.indexOf("zh") == -1 )
{
url_language = "en"
}

switch (window.location.hash) {
default :
location.href = window.location.origin + "/hardware/" + url_language + "/lichee/K1/lpi3a/1_intro.html"
}
</script>

0 comments on commit 9016547

Please sign in to comment.