forked from mirrors/hugo-tufte
4 lines
330 B
HTML
4 lines
330 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>
|