Files
docker-docs/layouts/_default/glossary.html
Craig Osterhout a6a887c1cb glossary: add static terms (#22401)
<!--Delete sections as needed -->

## Description

Reverted the glossary back to some static terms and instead added a tip
to ask AI.

https://deploy-preview-22401--docsdocker.netlify.app/reference/glossary/

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews


- [ ] Editorial review

---------

Signed-off-by: Craig <craig.osterhout@docker.com>
2025-04-17 13:37:39 -07:00

39 lines
929 B
HTML

{{ define "left" }}
{{ partial "sidebar/mainnav.html" . }}
{{ partial "sidebar/sections.html" . }}
{{ end }}
{{ define "main" }}
{{ partial "breadcrumbs.html" . }}
<article class="prose max-w-none dark:prose-invert">
{{ with .Title }}
<h1 class="scroll-mt-36">{{ . }}</h1>
{{ end }}
{{ with .Content }}
{{ . }}
{{ end }}
<table>
<thead>
<tr>
<th>Term</th>
<th>Definition</th>
</tr>
</thead>
<tbody>
{{ range $term, $definition := site.Data.glossary }}
<tr>
<td class="not-prose">
<a class="-top-16 relative" name="{{ $term | anchorize }}"></a>
{{ $term }}
</td>
<td>{{ $definition | $.RenderString }}</td>
</tr>
{{ end }}
</tbody>
</table>
</article>
{{ end }}
{{ define "right" }}
{{ partial "aside.html" . }}
{{ end }}