fixed margin note bug

This commit is contained in:
Dwarkesh Patel 2021-08-01 13:15:43 -05:00
parent 269a529f72
commit 67fb77fc2b

View file

@ -1,6 +1,12 @@
{{ $marginnoteDomIdSuffix := .Ordinal }}
<label for="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}">
class="margin-toggle">&#8853;
<label
for="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}"
class="margin-toggle"
>&#8853;
</label>
<input type="checkbox" id="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}" class="margin-toggle" />
<input
type="checkbox"
id="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}"
class="margin-toggle"
/>
<span class="marginnote">{{ .Inner }}</span>