mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +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)
12 lines
431 B
HTML
12 lines
431 B
HTML
<div class="bg-amber-light-200 dark:bg-amber-dark-200 p-4" role="alert">
|
|
<div class="text-lg">{{ .Get "header" }}</div>
|
|
{{ .Get "body" | .Page.RenderString (dict "display" "block") }}
|
|
<div class="not-prose">
|
|
<a
|
|
href="{{ .Get "url" }}"
|
|
class="cursor-pointer rounded-sm bg-blue-500 px-4 py-2 text-white hover:bg-blue-400 dark:bg-blue-800 dark:hover:bg-blue-700"
|
|
>{{ .Get "cta" }}</a
|
|
>
|
|
</div>
|
|
</div>
|