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/shortcodes/placeholder.html | 27 ++++++++++++---------- 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html') diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html index 2373bc927..c267bf4a7 100644 --- a/vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html +++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html @@ -1,21 +1,24 @@ {{- /* Usage: `placeholder args` - args can be one of the following: - title: Used in the SVG `title` tag, default "Placeholder" - text: The text to show in the image - default: "width x height" - class: default: "bd-placeholder-img" - color: The text color (foreground) - default: "#dee2e6" - background: The background color - default: "#868e96" - width: default: 100% - height: default: 180px + `args` are all optional and can be one of the following: + * title: Used in the SVG `title` tag - default: "Placeholder" + * text: The text to show in the image - default: "width x height" + * class: Class to add to the `svg` - default: "bd-placeholder-img" + * color: The text color (foreground) - default: "#dee2e6" + * background: The background color - default: "#868e96" + * width: default: "100%" + * height: default: "180px" */ -}} {{- $grays := $.Site.Data.grays -}} +{{- $default_color := (index $grays 2).hex -}} +{{- $default_background := (index $grays 5).hex -}} + {{- $title := .Get "title" | default "Placeholder" -}} {{- $class := .Get "class" -}} -{{- $color := .Get "color" | default (index $grays 2).hex -}} -{{- $background := .Get "background" | default (index $grays 5).hex -}} +{{- $color := .Get "color" | default $default_color -}} +{{- $background := .Get "background" | default $default_background -}} {{- $width := .Get "width" | default "100%" -}} {{- $height := .Get "height" | default "180" -}} {{- $text := .Get "text" | default (printf "%sx%s" $width $height) -}} @@ -24,7 +27,7 @@ {{- $show_text := not (eq $text "false") -}} -- cgit v1.2.3 From a451449766d581978068a5b8f8c1e27f50386ea7 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 23 Sep 2021 08:33:36 +0000 Subject: Revert "composer update bootstrap to version 5.1.1" This reverts commit 89e4006b2d84d398e34d407a019854823b1dd37d. --- .../site/layouts/shortcodes/placeholder.html | 27 ++++++++++------------ 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html') diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html index c267bf4a7..2373bc927 100644 --- a/vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html +++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html @@ -1,24 +1,21 @@ {{- /* Usage: `placeholder args` - `args` are all optional and can be one of the following: - * title: Used in the SVG `title` tag - default: "Placeholder" - * text: The text to show in the image - default: "width x height" - * class: Class to add to the `svg` - default: "bd-placeholder-img" - * color: The text color (foreground) - default: "#dee2e6" - * background: The background color - default: "#868e96" - * width: default: "100%" - * height: default: "180px" + args can be one of the following: + title: Used in the SVG `title` tag, default "Placeholder" + text: The text to show in the image - default: "width x height" + class: default: "bd-placeholder-img" + color: The text color (foreground) - default: "#dee2e6" + background: The background color - default: "#868e96" + width: default: 100% + height: default: 180px */ -}} {{- $grays := $.Site.Data.grays -}} -{{- $default_color := (index $grays 2).hex -}} -{{- $default_background := (index $grays 5).hex -}} - {{- $title := .Get "title" | default "Placeholder" -}} {{- $class := .Get "class" -}} -{{- $color := .Get "color" | default $default_color -}} -{{- $background := .Get "background" | default $default_background -}} +{{- $color := .Get "color" | default (index $grays 2).hex -}} +{{- $background := .Get "background" | default (index $grays 5).hex -}} {{- $width := .Get "width" | default "100%" -}} {{- $height := .Get "height" | default "180" -}} {{- $text := .Get "text" | default (printf "%sx%s" $width $height) -}} @@ -27,7 +24,7 @@ {{- $show_text := not (eq $text "false") -}} -- cgit v1.2.3 From e6dac085cb1d601da1fc63bfd59d811612fa6ef4 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 8 Oct 2021 12:24:19 +0000 Subject: update composer libs --- .../site/layouts/shortcodes/placeholder.html | 27 ++++++++++++---------- 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html') diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html index 2373bc927..c267bf4a7 100644 --- a/vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html +++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html @@ -1,21 +1,24 @@ {{- /* Usage: `placeholder args` - args can be one of the following: - title: Used in the SVG `title` tag, default "Placeholder" - text: The text to show in the image - default: "width x height" - class: default: "bd-placeholder-img" - color: The text color (foreground) - default: "#dee2e6" - background: The background color - default: "#868e96" - width: default: 100% - height: default: 180px + `args` are all optional and can be one of the following: + * title: Used in the SVG `title` tag - default: "Placeholder" + * text: The text to show in the image - default: "width x height" + * class: Class to add to the `svg` - default: "bd-placeholder-img" + * color: The text color (foreground) - default: "#dee2e6" + * background: The background color - default: "#868e96" + * width: default: "100%" + * height: default: "180px" */ -}} {{- $grays := $.Site.Data.grays -}} +{{- $default_color := (index $grays 2).hex -}} +{{- $default_background := (index $grays 5).hex -}} + {{- $title := .Get "title" | default "Placeholder" -}} {{- $class := .Get "class" -}} -{{- $color := .Get "color" | default (index $grays 2).hex -}} -{{- $background := .Get "background" | default (index $grays 5).hex -}} +{{- $color := .Get "color" | default $default_color -}} +{{- $background := .Get "background" | default $default_background -}} {{- $width := .Get "width" | default "100%" -}} {{- $height := .Get "height" | default "180" -}} {{- $text := .Get "text" | default (printf "%sx%s" $width $height) -}} @@ -24,7 +27,7 @@ {{- $show_text := not (eq $text "false") -}} -- cgit v1.2.3