From 77a470b3353028aaf90294168177a69a24a3a991 Mon Sep 17 00:00:00 2001 From: eignnx Date: Sun, 26 May 2019 18:59:41 -0400 Subject: [PATCH] Parameterize {{baseurl}} in FTL file --- locales/en-US/tools.ftl | 2 +- templates/tools/install.hbs | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/locales/en-US/tools.ftl b/locales/en-US/tools.ftl index 4d6fa3a1d..9e5383eb9 100644 --- a/locales/en-US/tools.ftl +++ b/locales/en-US/tools.ftl @@ -62,7 +62,7 @@ install-notes-heading = Notes about Rust installation install-notes-getting-started-heading = Getting started install-notes-getting-started-description = If you're just getting started with Rust and would like a more detailed walk-through, see our - getting started page. + getting started page. install-notes-rustup-heading = Toolchain management with rustup install-notes-rustup-description = diff --git a/templates/tools/install.hbs b/templates/tools/install.hbs index 0f771b79f..49ef47b91 100644 --- a/templates/tools/install.hbs +++ b/templates/tools/install.hbs @@ -25,7 +25,11 @@

{{text install-notes-getting-started-heading}}

- {{text install-notes-getting-started-description}} + {{#text install-notes-getting-started-description}} + {{#textparam getting-started-href}} + {{baseurl}}/learn/get-started + {{/textparam}} + {{/text}}

{{text install-notes-rustup-heading}}