Skip to content

Commit

Permalink
add nanokvm short link
Browse files Browse the repository at this point in the history
  • Loading branch information
wj-xiao committed Dec 25, 2024
1 parent 2ae545b commit 2a071eb
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pages/index/en/nanokvm.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) {
case "#shell":
default:
location.href = window.location.origin + "/hardware/" + url_language + "/kvm/NanoKVM/introduction.html"
}
</script>
14 changes: 14 additions & 0 deletions pages/index/en/nanokvmpcie.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) {
case "#shell":
default:
location.href = window.location.origin + "/hardware/" + url_language + "/kvm/NanoKVM_PCIe/introduction.html"
}
</script>
14 changes: 14 additions & 0 deletions pages/index/en/nanokvmusb.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) {
case "#shell":
default:
location.href = window.location.origin + "/hardware/" + url_language + "/kvm/NanoKVM_USB/introduction.html"
}
</script>
14 changes: 14 additions & 0 deletions pages/index/zh/nanokvmusb.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) {
case "#shell":
default:
location.href = window.location.origin + "/hardware/" + url_language + "/kvm/NanoKVM_USB/introduction.html"
}
</script>

0 comments on commit 2a071eb

Please sign in to comment.