Skip to content

Commit 3a76664

Browse files
authored
Fix "Install" link on Windows (#2101)
## Changes This makes the "Install" link on the front page work again. ## Context In #2096, the link location was changed, but one conversion was incomplete: Clicking the "Install" link on the front page directs to `/install/win`, which does not currently exist (but `/install/windows` does). To help this, not only do we fix the link here, but we also add a redirect for the `/install/win` URL.
2 parents 3f58aa3 + 9855439 commit 3a76664

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

assets/js/application.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ var InstallPageLink = {
819819
if (os === "Mac") {
820820
installLink.href = installLink.href.replace('/install', '/install/mac');
821821
} else if (os === "Windows") {
822-
installLink.href = installLink.href.replace('/install', '/install/win');
822+
installLink.href = installLink.href.replace('/install', '/install/windows');
823823
} else if (os === "Linux") {
824824
installLink.href = installLink.href.replace('/install', '/install/linux');
825825
}

content/install/windows.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
aliases:
55
- /download/win
66
- /downloads/win
7+
- /install/win
78
---
89

910
<div id="main">

0 commit comments

Comments
 (0)