aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes/expand.html
blob: 049fdd150fc36d2d5a5f7e6d4a0df376f98f05c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<div class="book-expand">
  <label>
    <div class="book-expand-head flex justify-between">
      <span>{{ default "Expand" (.Get 0) }}</span>
      <span>{{ default "↕" (.Get 1) }}</span>
    </div>
    <input type="checkbox" style="display: none" />
    <div class="book-expand-content markdown-inner">
      {{- .Inner | markdownify -}}
    </div>
  </label>
</div>