mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-15 04:46:58 +01:00
4e38a13914
Fixes #18
12 lines
345 B
HTML
12 lines
345 B
HTML
{{ $marginnoteDomIdSuffix := .Ordinal }}
|
|
<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 | markdownify}}</span>
|