12 lines
446 B
HTML
12 lines
446 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 }}">
|
||
|
<span class="sidenote-delimiter">[note:</span>
|
||
|
{{ .Inner }}
|
||
|
<span class="sidenote-delimiter">]</span>
|
||
|
</span>
|
||
|
</span>
|