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)
14 lines
303 B
HTML
14 lines
303 B
HTML
{{ $title := .Get "title" }}
|
|
{{ $icon := .Get "icon" }}
|
|
{{ $open := .Get "open" }}
|
|
{{ $large := .Get "large" }}
|
|
{{ $body := .InnerDeindent }}
|
|
{{ partial "components/accordion.html"
|
|
(dict "title" $title
|
|
"body" $body
|
|
"icon" $icon
|
|
"open" $open
|
|
"large" $large
|
|
)
|
|
}}
|