mirror of
https://github.com/docker/docs.git
synced 2026-03-27 06:18:55 +07:00
- layouts/partials/ → layouts/_partials/ - layouts/shortcodes/ → layouts/_shortcodes/ - layouts/_default/_markup/ → layouts/_markup/ - layouts/_default/*.html → layouts/*.html (flatten _default/) - layouts/index.html → layouts/home.html - layouts/index.*.json/txt → layouts/home.*.json/txt - layouts/_default/index.llms.txt → layouts/home.llms.txt - layouts/tag/ → layouts/tags/ (match /tags/ URL path)
39 lines
929 B
HTML
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 }} |