0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00
Bootstrap/site/content/docs/5.3/examples/_index.md
Julien Déramond 0653e7f648
Fix reference to twbs/examples/icons-font + fine-tune index.html SB location target (#38310)
* Fix reference to twbs/examples/icons-font + fine-tune index.html SB location target

* Use urlquery

* Add `rel="noopener"`

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-24 16:00:58 +02:00

3.2 KiB

layout title description aliases
single Examples Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts. /examples/

{{< list-examples.inline >}} {{ range entry := .Site.Data.examples -}}

{{ $entry.category }}

{{ $entry.description }}

{{ if eq $entry.category "RTL" -}}

RTL is still experimental and will evolve with feedback. Spotted something or have an improvement to suggest?

Please open an issue.

{{ end -}} {{ range $i, $example := $entry.examples -}} {{- $len := len $entry.examples -}} {{ if (eq $i 0) }}
{{ end }} {{ if $entry.external }}

{{ $example.name }}

{{ $example.description }}

{{- $htmlIndexLocation := "index.html" -}} {{- if $example.htmlIndexLocation -}} {{- $htmlIndexLocation = printf "%s/index.html" $example.htmlIndexLocation -}} {{- end }} Edit in StackBlitz

{{ else }}

{{ $example.name }}

{{ $example.description }}

{{ end }} {{ if (eq (add $i 1) $len) }}
{{ end }} {{ end -}}
{{ end -}} {{< /list-examples.inline >}}