Skip to content

Commit 59c3c1a

Browse files
authored
Merge pull request #819 from eignnx/i18n-baseurl-textparamify
Parameterize {{baseurl}} in install.hbs file
2 parents c12b348 + 77a470b commit 59c3c1a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

locales/en-US/tools.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ install-notes-heading = Notes about Rust installation
6161
install-notes-getting-started-heading = Getting started
6262
install-notes-getting-started-description = If you're just getting started with
6363
Rust and would like a more detailed walk-through, see our
64-
<a href="{{baseurl}}/learn/get-started">getting started</a> page.
64+
<a href="{ $getting-started-href }">getting started</a> page.
6565
6666
install-notes-rustup-heading = Toolchain management with <code>rustup</code>
6767
install-notes-rustup-description =

templates/tools/install.hbs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@
2525
<div>
2626
<h3>{{text install-notes-getting-started-heading}}</h3>
2727
<p>
28-
{{text install-notes-getting-started-description}}
28+
{{#text install-notes-getting-started-description}}
29+
{{#textparam getting-started-href}}
30+
{{baseurl}}/learn/get-started
31+
{{/textparam}}
32+
{{/text}}
2933
</p>
3034

3135
<h3>{{text install-notes-rustup-heading}}</h3>

0 commit comments

Comments
 (0)