From bd84ff483887c55c6ede4ba94e1a9175e34090b8 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 2 Jun 2023 16:36:57 +0000 Subject: update bootstrap to version 5.3 --- .../twbs/bootstrap/site/layouts/_default/examples.html | 18 ++++++++---------- .../bootstrap/site/layouts/shortcodes/example.html | 2 +- .../bootstrap/site/layouts/shortcodes/js-docs.html | 16 +++++++++++----- .../bootstrap/site/layouts/shortcodes/scss-docs.html | 2 +- 4 files changed, 21 insertions(+), 17 deletions(-) (limited to 'vendor/twbs/bootstrap/site/layouts') diff --git a/vendor/twbs/bootstrap/site/layouts/_default/examples.html b/vendor/twbs/bootstrap/site/layouts/_default/examples.html index cb689c0ce..5ec926323 100644 --- a/vendor/twbs/bootstrap/site/layouts/_default/examples.html +++ b/vendor/twbs/bootstrap/site/layouts/_default/examples.html @@ -153,16 +153,14 @@ {{ .Content }} - {{ if ne .Page.Params.include_js false -}} - {{- if eq hugo.Environment "production" -}} - - {{- else -}} - - {{- end }} - - {{ range .Page.Params.extra_js -}} - - {{- end -}} + {{- if eq hugo.Environment "production" -}} + + {{- else -}} + {{- end }} + + {{ range .Page.Params.extra_js -}} + + {{- end -}} diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/example.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/example.html index ab183e0a3..a162db521 100644 --- a/vendor/twbs/bootstrap/site/layouts/shortcodes/example.html +++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/example.html @@ -21,7 +21,7 @@
{{- if eq $show_preview true -}} - + {{- $input -}}
{{- end -}} diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html index fad4f034f..4739e0a17 100644 --- a/vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html +++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html @@ -26,12 +26,18 @@ {{- $match = replace $match $capture_start "" -}} {{- $match = replace $match $capture_end "" -}} -
-
- +
+ + {{- $unindent := 0 -}} {{- $found := false -}} {{- $first_line:= index (split $match "\n") 0 -}} diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html index d28b29c92..4edc414fd 100644 --- a/vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html +++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html @@ -39,7 +39,7 @@ {{- $match = replace $match " !default" "" -}} {{- end -}} -