10 lines
357 B
HTML
10 lines
357 B
HTML
|
{{ .Page.Scratch.Add "numbernote-id" 1 }}
|
||
|
{{ $id := .Page.Scratch.Get "numbernote-id" }}
|
||
|
<span class="sidenote">
|
||
|
<label class="sidenote-label" for="numbernote-{{ $id }}">({{ $id }})</label>
|
||
|
<input class="sidenote-checkbox" type="checkbox" id="numbernote-{{ $id }}"></input>
|
||
|
<span class="sidenote-content sidenote-{{ .Get 0 }}">
|
||
|
{{ .Inner }}
|
||
|
</span>
|
||
|
</span>
|