mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-24 14:29:44 +01:00
628637be81
Fixes #20
3 lines
327 B
HTML
3 lines
327 B
HTML
{{ $sidenoteDomIdSuffix := .Ordinal }}<label for="sidenote-{{.Page.File.UniqueID}}-{{ $sidenoteDomIdSuffix }}" class="margin-toggle sidenote-number"></label>
|
|
<input type="checkbox" id="sidenote-{{.Page.File.UniqueID}}-{{ $sidenoteDomIdSuffix }}" class="margin-toggle"/>
|
|
<span class="sidenote">{{ .Inner | markdownify }}</span>
|