mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-24 06:19:44 +01:00
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
|
||||||
|
type="checkbox"
|
||||||
|
id="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}"
|
||||||
|
class="margin-toggle"
|
||||||
|
/>
|
||||||
<span class="marginnote">{{ .Inner }}</span>
|
<span class="marginnote">{{ .Inner }}</span>
|
Loading…
Reference in a new issue