2020-05-31 16:20:39 +00:00
|
|
|
{{ $id := substr (sha1 .Inner) 0 8 }}
|
2020-01-12 14:33:02 +00:00
|
|
|
<div class="gdoc-expand">
|
2020-05-31 16:20:39 +00:00
|
|
|
<label class="gdoc-expand__head flex justify-between" for="{{ $id }}-{{ .Ordinal }}">
|
|
|
|
<span>{{ default "Expand" (.Get 0) }}</span>
|
|
|
|
<span>{{ default "↕" (.Get 1) }}</span>
|
2020-04-14 23:09:53 +00:00
|
|
|
</label>
|
2020-05-31 16:20:39 +00:00
|
|
|
<input id="{{ $id }}-{{ .Ordinal }}" type="checkbox" class="gdoc-expand__control hidden" />
|
|
|
|
<div class="gdoc-markdown--nested gdoc-expand__content">
|
2021-02-17 08:22:26 +00:00
|
|
|
{{ .Inner | $.Page.RenderString }}
|
2020-05-31 16:20:39 +00:00
|
|
|
</div>
|
2020-01-12 14:33:02 +00:00
|
|
|
</div>
|