0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00
Bootstrap/site/content/docs/4.5/examples/_index.md
XhmikosR b46f05a948 Switch to Hugo
This commit includes all the needed workarounds and most changes from the main branch for everything to work, like:

* removing empty lines in raw HTML that break output
* read .browserslistrc, CSS variables from disk instead of duplicating it
* using Hugo mounts
* using Hugo for the docs CSS/JS
* move ToC Sass code to a separate file while adapting it for Hugo

Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing.
2020-11-19 11:22:22 +02:00

1.4 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 }}

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

{{ end }}

{{ $example.name }}

{{ $example.description }}

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