mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-16 21:36:56 +01:00
6 lines
No EOL
323 B
HTML
6 lines
No EOL
323 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 }}</span> |