2021-07-21 20:23:55 +02:00
|
|
|
{{ $marginnoteDomIdSuffix := .Ordinal }}
|
2021-08-01 20:15:43 +02:00
|
|
|
<label
|
|
|
|
for="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}"
|
|
|
|
class="margin-toggle"
|
|
|
|
>⊕
|
2021-07-21 20:23:55 +02:00
|
|
|
</label>
|
2021-08-01 20:15:43 +02:00
|
|
|
<input
|
|
|
|
type="checkbox"
|
|
|
|
id="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}"
|
|
|
|
class="margin-toggle"
|
|
|
|
/>
|
2021-08-15 11:48:55 +02:00
|
|
|
<span class="marginnote">{{ .Inner | markdownify}}</span>
|