mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-04 16:24:22 +01:00
a3ad7327f2
* Add updated Jumbotron example made from utilities * Update starter template example with new design and links * Update some existing examples and their screenshots * Add four new snippet-based examples * Update layout to improve things a bit * WIP * Add d-block to images * Fix horizontal scroll * move d-block to the anchor Co-authored-by: XhmikosR <xhmikosr@gmail.com>
1.9 KiB
1.9 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" -}}The RTL feature is still experimental and will probably evolve according to user feedback. Spotted something or have an improvement to suggest? Open an issue, we'd love to get your insights.
{{ range $i, $example := $entry.examples -}} {{- $len := len $entry.examples -}} {{ if (eq $i 0) }}
{{ end }}
{{ end }}
{{ end -}}
{{ end -}}
{{< /list-examples.inline >}}
<a class="d-block" href="/docs/{{ $.Site.Params.docs_version }}/examples/{{ $example.name | urlize }}/"{{ if in $example.name "RTL" }} hreflang="ar"{{ end }}>
{{ if (eq (add $i 1) $len) }}{{ $example.name }}
{{ $example.description }}