From 89e4006b2d84d398e34d407a019854823b1dd37d Mon Sep 17 00:00:00 2001
From: Mario
Date: Wed, 22 Sep 2021 06:38:27 +0000
Subject: composer update bootstrap to version 5.1.1
---
.../site/layouts/partials/docs-versions.html | 2 +-
.../bootstrap/site/layouts/partials/footer.html | 2 +-
.../site/layouts/partials/home/masthead.html | 2 +-
.../bootstrap/site/layouts/partials/scripts.html | 2 +-
.../site/layouts/partials/stylesheet.html | 2 +-
.../site/layouts/shortcodes/bs-table.html | 3 +-
.../bootstrap/site/layouts/shortcodes/callout.html | 3 +-
.../bootstrap/site/layouts/shortcodes/docsref.html | 2 +-
.../bootstrap/site/layouts/shortcodes/example.html | 18 +++++----
.../site/layouts/shortcodes/js-dismiss.html | 15 +++++++
.../bootstrap/site/layouts/shortcodes/param.html | 4 +-
.../site/layouts/shortcodes/placeholder.html | 27 +++++++------
.../site/layouts/shortcodes/scss-docs.html | 46 +++++++++++++---------
.../bootstrap/site/layouts/shortcodes/table.html | 13 +++---
.../bootstrap/site/layouts/shortcodes/year.html | 4 +-
15 files changed, 87 insertions(+), 58 deletions(-)
create mode 100644 vendor/twbs/bootstrap/site/layouts/shortcodes/js-dismiss.html
(limited to 'vendor/twbs/bootstrap/site/layouts')
diff --git a/vendor/twbs/bootstrap/site/layouts/partials/docs-versions.html b/vendor/twbs/bootstrap/site/layouts/partials/docs-versions.html
index 4415e550d..a38a81823 100644
--- a/vendor/twbs/bootstrap/site/layouts/partials/docs-versions.html
+++ b/vendor/twbs/bootstrap/site/layouts/partials/docs-versions.html
@@ -3,7 +3,7 @@
Bootstrap v{{ .Site.Params.docs_version }}
diff --git a/vendor/twbs/bootstrap/site/layouts/partials/home/masthead.html b/vendor/twbs/bootstrap/site/layouts/partials/home/masthead.html
index a8a465fed..e5661d9b3 100644
--- a/vendor/twbs/bootstrap/site/layouts/partials/home/masthead.html
+++ b/vendor/twbs/bootstrap/site/layouts/partials/home/masthead.html
@@ -23,6 +23,6 @@
- {{ partial "ads.html" . }}
+ {{ partial "ads" . }}
diff --git a/vendor/twbs/bootstrap/site/layouts/partials/scripts.html b/vendor/twbs/bootstrap/site/layouts/partials/scripts.html
index d7c694641..d25add3ff 100644
--- a/vendor/twbs/bootstrap/site/layouts/partials/scripts.html
+++ b/vendor/twbs/bootstrap/site/layouts/partials/scripts.html
@@ -10,7 +10,7 @@
{{- $vendor := resources.Match "js/vendor/*.js" -}}
{{- $js := resources.Match "js/*.js" -}}
-{{- $targetDocsJSPath := printf "/docs/%s/assets/js/docs.js" .Site.Params.docs_version -}}
+{{- $targetDocsJSPath := path.Join "/docs" .Site.Params.docs_version "assets/js/docs.js" -}}
{{- $docsJs := append $js $vendor | resources.Concat $targetDocsJSPath -}}
{{- if eq hugo.Environment "production" -}}
diff --git a/vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html b/vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html
index 83b30f452..cc4473383 100644
--- a/vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html
+++ b/vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html
@@ -10,7 +10,7 @@
{{- end }}
{{- if (ne .Page.Layout "examples") }}
-{{- $targetDocsCssPath := printf "/docs/%s/assets/css/docs.css" .Site.Params.docs_version -}}
+{{- $targetDocsCssPath := path.Join "/docs" .Site.Params.docs_version "assets/css/docs.css" -}}
{{- $sassOptions := dict "targetPath" $targetDocsCssPath "outputStyle" "expanded" "precision" 6 -}}
{{- $postcssOptions := dict "use" "autoprefixer" "noMap" true -}}
diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/bs-table.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/bs-table.html
index 40b9b8ce5..42a18d578 100644
--- a/vendor/twbs/bootstrap/site/layouts/shortcodes/bs-table.html
+++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/bs-table.html
@@ -1,6 +1,5 @@
{{- /*
- Usage: `bs-table "class class-foo"`,
- where class can be anything
+ Usage: `bs-table "class class-foo"`, where class can be any string
*/ -}}
{{- $css_class := .Get 0 | default "table" -}}
diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/callout.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/callout.html
index 007f8a8e8..86683ecf4 100644
--- a/vendor/twbs/bootstrap/site/layouts/shortcodes/callout.html
+++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/callout.html
@@ -1,6 +1,5 @@
{{- /*
- Usage: `callout "type"`,
- where type is one of info (default), danger, warning
+ Usage: `callout "type"`, where `type` is one of info (default), danger, or warning
*/ -}}
{{- $css_class := .Get 0 | default "info" -}}
diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/docsref.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/docsref.html
index 88e43d172..2379de2b1 100644
--- a/vendor/twbs/bootstrap/site/layouts/shortcodes/docsref.html
+++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/docsref.html
@@ -1 +1 @@
-{{- relref . ((printf "docs/%s%s" $.Site.Params.docs_version (.Get 0)) | relURL) -}}
+{{- relref . ((path.Join "docs" $.Site.Params.docs_version (.Get 0)) | relURL) -}}
diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/example.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/example.html
index fd20839cb..0592adc6b 100644
--- a/vendor/twbs/bootstrap/site/layouts/shortcodes/example.html
+++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/example.html
@@ -1,26 +1,28 @@
{{- /*
- Usage: `example [args]`
+ Usage: `example args`
- `args` are optional and can be one of the following:
- id: the `div`'s id - default: ""
- class: any extra class(es) to be added to the `div` - default ""
- show_preview: if the preview should be output in the HTML - default: `true`
- show_markup: if the markup should be output in the HTML - default: `true`
+ `args` are all optional and can be one of the following:
+ * id: the `div`'s id - default: ""
+ * class: any extra class(es) to be added to the `div` - default: ""
+ * show_preview: if the preview should be output in the HTML - default: `true`
+ * show_markup: if the markup should be output in the HTML - default: `true`
*/ -}}
+{{- $id := .Get "id" -}}
+{{- $class := .Get "class" -}}
{{- $lang := .Get "lang" | default "html" -}}
{{- $show_preview := .Get "show_preview" | default true -}}
{{- $show_markup := .Get "show_markup" | default true -}}
{{- $input := .Inner -}}
{{- if eq $show_preview true -}}
-
+
{{- $input -}}
{{- end -}}
{{- if eq $show_markup true -}}
- {{- $content := replaceRE `