mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-25 04:43:04 +00:00
8 lines
258 B
HTML
8 lines
258 B
HTML
<details {{ if or (.Get "open") (in .Params "open") }}open{{ end }}>
|
|
{{- $summary := cond .IsNamedParams (.Get "title") (.Get 0) -}}
|
|
<summary>{{ $summary }}</summary>
|
|
<div class="markdown-inner">
|
|
{{ .InnerDeindent | safeHTML }}
|
|
</div>
|
|
</details>
|