2021-04-15 01:37:18 -07:00
|
|
|
<span class="sidenote">
|
2024-06-09 18:36:54 -07:00
|
|
|
<label class="sidenote-label" for="{{- .Get 1 -}}">{{- .Get 2 -}}</label>
|
2024-06-24 19:21:46 -07:00
|
|
|
<input class="sidenote-checkbox" style="display: none;" type="checkbox" id="{{- .Get 1 -}}"></input>
|
2024-06-09 18:36:54 -07:00
|
|
|
{{- if $offset := .Get 3 -}}
|
|
|
|
<span class="sidenote-content sidenote-{{- .Get 0 -}}" style="margin-top: {{- $offset -}}rem">
|
|
|
|
{{- else -}}
|
|
|
|
<span class="sidenote-content sidenote-{{- .Get 0 -}}">
|
|
|
|
{{- end -}}
|
|
|
|
<span class="sidenote-delimiter">[{{- i18n "note" -}}:</span>
|
|
|
|
{{- .Inner -}}
|
2021-04-15 01:37:18 -07:00
|
|
|
<span class="sidenote-delimiter">]</span>
|
|
|
|
</span>
|
|
|
|
</span>
|