forked from mirrors/hugo-tufte
7 lines
328 B
HTML
7 lines
328 B
HTML
{{- $label := (add .Ordinal 1) -}}
|
|
{{- $ind := .Get "ind" | default .Site.Params.marginNoteInd -}}
|
|
<label for="marginnote-{{ $label }}" class="margin-toggle marginnote-ind">{{ $ind }}</label>
|
|
<input type="checkbox" id="marginnote-{{ $label }}" class="margin-toggle"/>
|
|
<span class="marginnote">
|
|
{{ .Inner | markdownify}}
|
|
</span>
|