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 }}
|
||||
<label for="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}">
|
||||
class="margin-toggle">⊕
|
||||
<label
|
||||
for="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}"
|
||||
class="margin-toggle"
|
||||
>⊕
|
||||
</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>
|
Loading…
Reference in a new issue