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