1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

Update branch to work with 5.3

This commit is contained in:
Julien Déramond
2023-03-21 16:23:57 +01:00
parent 43dc669f0a
commit 622457b56d
3 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,30 @@
---
layout: docs
title: Glossary
description: List of all classes in our Bootstrap CSS
group: glossary
aliases: "/glossary/"
toc: true
---
## Glossary
{{< tables.inline >}}
{{ $file := split (readFile (path.Join "site/static/docs" .Site.Params.docs_version "assets/data/glossary.data")) "\n" }}
<table class="table">
<tbody>
{{- range $file }}
{{ $class := split . ":" }}
<tr>
<td>
{{ if gt (len (string (index $class 1))) 1 }}
<a href="/docs/{{ $.Site.Params.docs_version }}/{{ (index $class 1) }}">{{ index $class 0 }}</a>
{{ else }}
<span>{{ index $class 0 }}</span>
{{ end }}
</td>
</tr>
{{- end -}}
</tbody>
</table>
{{< /tables.inline >}}