7 lines
242 B
HTML
7 lines
242 B
HTML
|
{{ $class := .Get "class" -}}
|
||
|
{{ $summary := .Get "summary" -}}
|
||
|
<details{{ with $class }} class="{{ . }}"{{ end }}>
|
||
|
{{ with $summary }}<summary>{{ . }}</summary>{{ end }}
|
||
|
{{ .Inner | $.Page.RenderString (dict "display" "block") }}
|
||
|
</details>
|