Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-02-04 09:40:20 +0300
committerXhmikosR <xhmikosr@gmail.com>2021-08-31 17:24:38 +0300
commit283cbd902669732943885e94115a0e29a952baf6 (patch)
tree7e99f4cc70412ce453cc0a6aa529d5e6a50f4eee /site/content/docs
parentf22966c9206cd3efba174566fecd6bd68061c4ae (diff)
Use `path.Join` when joining paths
Diffstat (limited to 'site/content/docs')
-rw-r--r--site/content/docs/5.1/forms/validation.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.1/forms/validation.md b/site/content/docs/5.1/forms/validation.md
index 81f8b73d2d..c4bc1b5db5 100644
--- a/site/content/docs/5.1/forms/validation.md
+++ b/site/content/docs/5.1/forms/validation.md
@@ -103,7 +103,7 @@ Custom feedback styles apply custom colors, borders, focus styles, and backgroun
{{< example lang="js" show_preview="false" >}}
{{< js.inline >}}
-{{- readFile (printf "site/static/docs/%s/assets/js/validate-forms.js" .Site.Params.docs_version) -}}
+{{- readFile (path.Join "site/static/docs" .Site.Params.docs_version "assets/js/validate-forms.js") -}}
{{< /js.inline >}}
{{< /example >}}