/var/www/vhosts/ihelp.ro/httpdocs/vendor/twbs/bootstrap/site/layouts/shortcodes
NameSizeModeActions
added-in.html2750644editdlrm
bs-table.html3990644editdlrm
callout-deprecated-dark-variants.html4670644editdlrm
callout.html2340644editdlrm
deprecated-in.html2790644editdlrm
docsref.html830644editdlrm
example.html24250644editdlrm
js-dismiss.html5610644editdlrm
js-docs.html24460644editdlrm
markdown.html290644editdlrm
param.html5960644editdlrm
partial.html250644editdlrm
placeholder.html29200644editdlrm
scss-docs.html29690644editdlrm
table.html8440644editdlrm
year.html660644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/twbs/bootstrap/site/layouts/shortcodes/placeholder.html (2920B)
{{- /* 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` or `img` - default: "bd-placeholder-img" * color: The text color (foreground) - default: "#dee2e6" * background: The background color - default: "#868e96" * width: default: "100%" * height: default: "180px" * markup: If it should render `svg` or `img` tags - default: "svg" */ -}} {{- $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 -}} {{- $width := .Get "width" | default "100%" -}} {{- $height := .Get "height" | default "180" -}} {{- $text := .Get "text" | default (printf "%sx%s" $width $height) -}} {{- $show_title := not (eq $title "false") -}} {{- $show_text := not (eq $text "false") -}} {{- $markup := .Get "markup" | default "svg" -}} {{- if eq $markup "img" -}} {{ $title }} : {{ $text }} {{- else -}} {{- end -}}