Fixes the 'branchname' variable setting used on salt doc pages. Refs #18130
[arvados.git] / doc / install / salt-single-host.html.textile.liquid
index 6a066f77b0a9d6b96270dff35604779e33a8227d..6ca6738e3252cc35c8b0fe09590874eed67be7a1 100644 (file)
@@ -25,11 +25,7 @@ h2(#single_host). Single host install using the provision.sh script
 
 <b>NOTE: The single host installation is not recommended for production use.</b>
 
-{% if site.current_version %}
-{% assign branchname = site.current_version | slice: 1, 5 | append: '-dev' %}
-{% else %}
-{% assign branchname = 'main' %}
-{% endif %}
+{% include 'branchname' %}
 
 This is a package-based installation method. Start with the @provision.sh@ script which is available by cloning the @{{ branchname }}@ branch from "https://git.arvados.org/arvados.git":https://git.arvados.org/arvados.git .  The @provision.sh@ script and its supporting files can be found in the "arvados/tools/salt-install":https://git.arvados.org/arvados.git/tree/refs/heads/{{ branchname }}:/tools/salt-install directory in the Arvados git repository.