forked from mirrors/hugo-tufte
fixed margin note bug
This commit is contained in:
parent
269a529f72
commit
67fb77fc2b
1 changed files with 10 additions and 4 deletions
|
@ -1,6 +1,12 @@
|
||||||
{{ $marginnoteDomIdSuffix := .Ordinal }}
|
{{ $marginnoteDomIdSuffix := .Ordinal }}
|
||||||
<label for="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}">
|
<label
|
||||||
class="margin-toggle">⊕
|
for="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}"
|
||||||
|
class="margin-toggle"
|
||||||
|
>⊕
|
||||||
</label>
|
</label>
|
||||||
<input type="checkbox" id="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}" class="margin-toggle" />
|
<input
|
||||||
<span class="marginnote">{{ .Inner }}</span>
|
type="checkbox"
|
||||||
|
id="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}"
|
||||||
|
class="margin-toggle"
|
||||||
|
/>
|
||||||
|
<span class="marginnote">{{ .Inner }}</span>
|
||||||
|
|
Loading…
Reference in a new issue