1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-01 17:32:41 +02:00
This commit is contained in:
Julien Déramond
2022-09-06 21:03:06 +02:00
parent 1bb7e000c7
commit aa05e16b8c
3 changed files with 1901 additions and 1797 deletions

View File

@@ -9,7 +9,22 @@ toc: true
## Glossary
{{< js.inline >}}
{{- ( print "```" "css" "\n" ( readFile (path.Join "site/static/docs" .Site.Params.docs_version "assets/data/glossary.data") ) "\n" "```" ) | markdownify -}}
{{< /js.inline >}}
{{< 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 >}}