2021-04-15 01:37:18 -07:00
|
|
|
<span class="sidenote">
|
|
|
|
<label class="sidenote-label" for="{{ .Get 1 }}">{{ .Get 2 }}</label>
|
|
|
|
<input class="sidenote-checkbox" type="checkbox" id="{{ .Get 1 }}"></input>
|
2022-12-09 15:36:07 -08:00
|
|
|
{{ if $offset := .Get 3 }}
|
|
|
|
<span class="sidenote-content sidenote-{{ .Get 0 }}" style="margin-top: {{ $offset }}rem">
|
|
|
|
{{ else }}
|
2021-04-15 01:37:18 -07:00
|
|
|
<span class="sidenote-content sidenote-{{ .Get 0 }}">
|
2022-12-09 15:36:07 -08:00
|
|
|
{{ end }}
|
2023-01-01 01:28:18 -08:00
|
|
|
<span class="sidenote-delimiter">[{{ i18n "note" }}:</span>
|
2021-04-15 01:37:18 -07:00
|
|
|
{{ .Inner }}
|
|
|
|
<span class="sidenote-delimiter">]</span>
|
|
|
|
</span>
|
|
|
|
</span>
|