Skip to content

Commit 2eebe8b

Browse files
committed
Link directly to cargo install page
This fixes a papercut where after clicking on the button, clicking the back button causes the user to immediately redirect again. Additionally, on Firefox 71, it was not possible to long-click on the back button to return to crates.io (as the only entry in the list was the redirect. On Chromium 79 I had no such issue.
1 parent 1fc6bfa commit 2eebe8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/templates/index.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<h1>The Rust community&rsquo;s crate registry</h1>
33

44
<div class='links'>
5-
{{#link-to "install" class='yellow-button' data-test-install-cargo-link=true}}
5+
<a href="https://doc.rust-lang.org/cargo/getting-started/installation.html" class='yellow-button' data-test-install-cargo-link>
66
{{svg-jar "button-download"}}
77
Install Cargo
8-
{{/link-to}}
8+
</a>
99

1010
<a href='https://doc.rust-lang.org/cargo/guide/' class='yellow-button'>
1111
{{svg-jar "flag"}}

0 commit comments

Comments
 (0)