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