uci-hugo-doc/layouts/shortcodes/expand.html

13 lines
392 B
HTML
Raw Normal View History

2020-01-12 06:33:02 -08:00
<div class="gdoc-expand">
<label>
<div class="gdoc-expand__head flex justify-between">
<span>{{ default "Expand" (.Get 0) }}</span>
<span>{{ default "↕" (.Get 1) }}</span>
</div>
<input type="checkbox" class="gdoc-expand__control hidden" />
<div class="gdoc-markdown--nested gdoc-expand__content">
{{ .Inner | markdownify }}
</div>
</label>
2020-01-12 06:33:02 -08:00
</div>