mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-22 11:29:28 +00:00
14 lines
438 B
HTML
14 lines
438 B
HTML
{{ warnf "Expand shortcode is deprecated. Use 'details' instead." }}
|
|
<div class="book-expand">
|
|
<label>
|
|
<div class="book-expand-head flex justify-between">
|
|
<span>{{ default (i18n "Expand") (.Get 0) }}</span>
|
|
<span>{{ default "↕" (.Get 1) }}</span>
|
|
</div>
|
|
<input type="checkbox" class="hidden" />
|
|
<div class="book-expand-content markdown-inner">
|
|
{{ .Inner | markdownify }}
|
|
</div>
|
|
</label>
|
|
</div>
|